File: rules

package info (click to toggle)
pycocuma 0.4.5-6-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 756 kB
  • ctags: 1,222
  • sloc: python: 9,494; makefile: 36
file content (47 lines) | stat: -rwxr-xr-x 861 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
42
43
44
45
46
47
#!/usr/bin/make -f

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

D=$(CURDIR)/debian/pycocuma

clean:
	dh_testdir
	dh_testroot
	rm -rf pycocumalib/*.pyc build
	rm -f build-stamp configure-stamp
	dh_clean

build:

install:
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	dh_install
	python setup.py install --root $D
	for d in `find $D -name .svn` ; do rm -r $$d ; done

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs ChangeLog
	dh_installdocs
	cp debian/lintian-override $D/usr/share/lintian/overrides/pycocuma
	dh_installexamples
	dh_installmenu
	dh_installman debian/pycocuma*.1
	dh_compress
	dh_pycentral
	dh_installdeb
	dh_shlibdeps
	dh_fixperms
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:

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