File: rules

package info (click to toggle)
python-dns 0.cvs%2B20020417-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 168 kB
  • ctags: 301
  • sloc: python: 1,339; makefile: 24; sh: 6
file content (35 lines) | stat: -rwxr-xr-x 557 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
31
32
33
34
35
#!/usr/bin/make -f

export DH_COMPAT=3

PYTHON = /usr/bin/python2.1
debdir = $(shell pwd)/debian
tmpdir = $(debdir)/tmp

configure:

build: configure

install: 
	$(PYTHON) setup.py install -f --no-compile --root $(tmpdir)
	dh_movefiles

clean:
	dh_clean
	rm -f DNS/*.pyc
	rm -rf build/*

binary: binary-arch binary-indep

binary-indep: install 
	dh_installdocs -i
	dh_installchangelogs -i
	dh_compress -i
	dh_md5sums -i
	dh_gencontrol -i
	dh_installdeb -i
	dh_builddeb -i

binary-arch: 

.PHONY: configure build install clean binary-arch binary-indep binary