File: rules

package info (click to toggle)
python-django-contact-form 0%2Bhg61-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 96 kB
  • ctags: 29
  • sloc: python: 121; makefile: 21
file content (30 lines) | stat: -rwxr-xr-x 594 bytes parent folder | download
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