Commit | Line | Data |
---|---|---|
167a10d9 P |
1 | VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p') |
2 | DIST = $(shell dpkg-parsechangelog | sed -n 's/^Distribution: //p') | |
3 | ||
4 | all: build | |
5 | ||
6 | build: | |
5b826c54 | 7 | sed -i "/ version=/s/='[^']*'/='$(VERSION)'/" setup.py |
167a10d9 P |
8 | |
9 | install: | |
167a10d9 P |
10 | |
11 | clean: | |
12 | ||
13 | test: | |
14 | debuild -I.git -I*.ex -b -us -uc && sudo debi | |
15 | ||
16 | release: | |
17 | debuild -I.git -I*.ex -tc && debrelease --dput $(DIST)-test | |
18 |