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
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
ifndef UPVER
UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d+ -f1 | cut -d- -f1)
endif
%:
dh $@
get-orig-source:
uscan --verbose \
--download-version $(UPVER) \
--force-download \
--rename \
--destdir .
tar xf polymaps_$(UPVER).orig.tar.gz
@rm -rf \
simplegeo-polymaps-*/lib/ \
simplegeo-polymaps-*/examples/
tar cf polymaps_$(UPVER)+ds1.orig.tar simplegeo-polymaps-*/
gzip -9 polymaps_$(UPVER)+ds1.orig.tar
rm -rf simplegeo-polymaps-*/ polymaps_$(UPVER).orig.tar.gz
|