Use uscan for get-orig-source target instead of wget
Agustin Henze
9 years ago
3 | 3 | # Uncomment this to turn on verbose mode. |
4 | 4 | # export DH_VERBOSE=1 |
5 | 5 | |
6 | UVERSION := $(shell dpkg-parsechangelog | sed -n -e's/^Version: \(.*\)-[^-]\+/\1/p' | cut -d ":" -f 2) | |
6 | UVERSION := $(shell dpkg-parsechangelog -SVersion | cut -d- -f1) | |
7 | 7 | PACKAGE_NAME := $(shell dpkg-parsechangelog | sed -n -e's/^Source: \(.*\)\+/\1/p') |
8 | 8 | export PYBUILD_NAME=$(PACKAGE_NAME) |
9 | 9 | |
24 | 24 | echo 'Run this from the top directory of the Debian source' >&2; \ |
25 | 25 | exit 1; \ |
26 | 26 | fi |
27 | wget https://github.com/mitsuhiko/logbook/archive/$(UVERSION).tar.gz \ | |
28 | -O ../logbook_$(UVERSION).orig.tar.gz; | |
27 | uscan --noconf --verbose --rename --destdir=$(CURDIR) \ | |
28 | --check-dirname-level=0 --force-download --download-version $(UVERSION) |