1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
#!/usr/bin/make -f
CURVER=$(shell dpkg-parsechangelog --show-field Version)
DEBVER=$(shell echo $(CURVER) | cut -d- -f1)
UPVER=$(shell echo $(DEBVER) | cut -d+ -f1)
%:
dh $@
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
override_dh_install:
dh_install --list-missing
override_dh_clean:
dh_clean
find src/ -name '*.pdf' -delete
find src/ -name '*.texi' -delete
find src/ -name '*.1' -delete
find src/ -name '*.html' -delete
get-orig-source:
uscan --verbose \
--download-version $(UPVER) \
--no-symlink \
--force-download \
--destdir .
tar xvf parallel-$(UPVER).tar.bz2
find parallel-$(UPVER)/src/ -name '*.pdf' -delete
find parallel-$(UPVER)/src/ -name '*.texi' -delete
find parallel-$(UPVER)/src/ -name '*.1' -delete
find parallel-$(UPVER)/src/ -name '*.html' -delete
tar cf parallel_$(DEBVER).orig.tar parallel-$(UPVER)
gzip -9 parallel_$(DEBVER).orig.tar
rm -vrf parallel-$(UPVER)/ parallel-$(UPVER).tar.bz2
override_dh_auto_test:
# disable for the moment
|