Debian Codegraph @

misc/alien.rules

raw
1 #!/usr/bin/make -f
2 # debian/rules for alien
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 # Use v4 compatability mode, so ldconfig gets added to maint scripts.
8 export DH_COMPAT=4
9
10 export DH_PYCENTRAL=include-links dh_pycentral
11
12 PACKAGE=$(shell dh_listpackages)
13
14 build:
15 dh_testdir
16
17 clean:
18 dh_testdir
19 dh_testroot
20 dh_clean -d
21
22 binary-indep: build
23
24 binary-arch: build
25 dh_testdir
26 dh_testroot
27 dh_clean -k -d
28 dh_installdirs
29
30 dh_installdocs
31 dh_installchangelogs
32
33 # Copy the packages's files.
34 find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
35 xargs -0 -r -i cp -a {} debian/$(PACKAGE)
36
37 #
38 # If you need to move files around in debian/$(PACKAGE) or do some
39 # binary patching, do it here
40 #
41 dh_pycentral
42
43 # This has been known to break on some wacky binaries.
44 dh_strip
45 dh_compress
46 # dh_fixperms
47 dh_makeshlibs
48 dh_installdeb
49 -dh_shlibdeps
50 dh_gencontrol
51 dh_md5sums
52 dh_builddeb
53
54 binary: binary-indep binary-arch
55 .PHONY: build clean binary-indep binary-arch binary