d/rules: Drop get-orig-source target.
Ondřej Nový
4 years ago
11 | 11 |
* d/watch: Fix.
|
12 | 12 |
* Enable autopkgtest-pkg-python testsuite.
|
13 | 13 |
* Bump debhelper compat level to 12 and use debhelper-compat.
|
|
14 |
* d/rules: Drop get-orig-source target.
|
14 | 15 |
|
15 | 16 |
[ Piotr Ożarowski ]
|
16 | 17 |
* Add dh-python to Build-Depends
|
0 | 0 |
#!/usr/bin/make -f
|
1 | |
|
2 | |
APP=doublex
|
3 | |
VERSION=$(shell head -n 1 debian/changelog | cut -f2 -d " " | tr -d "()" | cut -f1 -d "-")
|
4 | |
|
5 | |
ORIG_REPO=hg clone http://bitbucket.org/DavidVilla/python-doublex -r v$(VERSION)
|
6 | |
ORIG_DIR=$(APP)-$(VERSION)
|
7 | |
EXCLUDE=--exclude=debian --exclude=\*~ --exclude=.hg --exclude=.svn --exclude=\*.pyc
|
8 | 1 |
|
9 | 2 |
export PYBUILD_NAME=doublex
|
10 | 3 |
|
11 | 4 |
%:
|
12 | 5 |
dh $@ --with python3 --buildsystem=pybuild
|
13 | |
|
14 | |
get-orig-source:
|
15 | |
$(ORIG_REPO) $(ORIG_DIR)
|
16 | |
tar $(EXCLUDE) -czf $(APP)_$(VERSION).orig.tar.gz $(ORIG_DIR)
|
17 | |
$(RM) -r $(ORIG_DIR)
|