Codebase list logbook / 302d9ea
Use uscan for get-orig-source target instead of wget Agustin Henze 9 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
33 # Uncomment this to turn on verbose mode.
44 # export DH_VERBOSE=1
55
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)
77 PACKAGE_NAME := $(shell dpkg-parsechangelog | sed -n -e's/^Source: \(.*\)\+/\1/p')
88 export PYBUILD_NAME=$(PACKAGE_NAME)
99
2424 echo 'Run this from the top directory of the Debian source' >&2; \
2525 exit 1; \
2626 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)