File: rules

package info (click to toggle)
tftpy 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 164 kB
  • ctags: 147
  • sloc: python: 1,244; makefile: 31
file content (41 lines) | stat: -rwxr-xr-x 710 bytes parent folder | download | duplicates (2)
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
36
37
38
39
40
41
#!/usr/bin/make -f
#export DH_VERBOSE=1

PREFIX := debian/python-tftpy/usr

clean:
	dh_testdir
	dh_testroot
	python ./setup.py clean
	find . -name *\.pyc -exec rm {} \;
	rm -rf build
	dh_clean 

build:
	dh_testdir

install: build
	dh_testroot
	dh_installdirs
	python ./setup.py build_py --no-compile --build-lib \
		$(PREFIX)/share/python-support/python-tftpy

binary-arch: build install

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs ChangeLog
	dh_installdocs
	dh_installexamples
	dh_pysupport
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

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