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
|
#!/usr/bin/make -f
include /usr/share/quilt/quilt.make
clean: unpatch
dh $@
build: patch
dh $@
install: build
dh $@
binary-indep: install
dh $@
binary-arch:
binary: binary-arch binary-indep
dh $@
get-orig-source:
hg clone https://bitbucket.org/ubernostrum/django-contact-form/
set -e; \
revno=`hg tip --template "{rev}" -R django-contact-form` \
dirname=python-django-contact-form-0+hg$$revno; \
hg archive -R django-contact-form $$dirname; \
rm $$dirname/.hg*; \
tar zcf python-django-contact-form_0+hg$$revno.orig.tar.gz $$dirname; \
rm -rf django-contact-form $$dirname
|