File: rules

package info (click to toggle)
python-adns 1.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 148 kB
  • ctags: 159
  • sloc: ansic: 972; python: 204; makefile: 17
file content (27 lines) | stat: -rwxr-xr-x 520 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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PYVERSIONS=`pyversions -r`

override_dh_auto_clean:
	for python in ${PYVERSIONS}; do \
		$$python setup.py clean; \
	done

override_dh_auto_build:
	for python in ${PYVERSIONS}; do \
		$$python setup.py build; \
	done

override_dh_auto_install:
	for python in ${PYVERSIONS}; do \
		$$python setup.py install --root=$(CURDIR)/debian/python-adns --install-layout=deb; \
	done

override_dh_installdocs:
	dh_installdocs -a README

%:
	dh $@