File: rules

package info (click to toggle)
tftpy 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 208 kB
  • ctags: 159
  • sloc: python: 1,308; makefile: 35
file content (45 lines) | stat: -rwxr-xr-x 858 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
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/make -f
#export DH_VERBOSE=1

PYVERS=$(shell pyversions -vr)
pkgdir = $(CURDIR)/debian/python-tftpy
-include /usr/share/python/python.mk

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

build: 
build-indep:
build-arch: 
build-stamp:

install: $(PYVERS:%=install-python%)
	dh_install

install-python%:
	python$* setup.py install $(py_setup_install_args) \
                --root $(call pkgdir,$*)

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

binary-arch:
binary: binary-indep binary-arch

.PHONY: build-stamp build-arch build-indep binary binary-arch binary-indep install