Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # debian/rules file for hfsutils
3 # This file is public domain software, originally written by Joey Hess.
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 MAKE += -o configure.in
9
10 CFLAGS = -Wall $(shell dpkg-buildflags --get CPPFLAGS; dpkg-buildflags --get CFLAGS)
11 LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
12
13 build-arch: build
14 build-indep: build
15 build: build-stamp
16 build-stamp:
17 dh_testdir
18
19 # Add here commands to compile the package.
20 CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --prefix=/usr \
21 --mandir=\$${prefix}/share/man \
22 --with-tcl=/usr/lib \
23 --with-tk=/usr/lib
24 $(MAKE)
25
26 touch build-stamp
27
28 clean:
29 dh_testdir
30 dh_testroot
31 rm -f build-stamp
32
33 # Add here commands to clean up after the build process.
34 [ ! -f Makefile ] || $(MAKE) distclean
35
36 dh_clean
37
38 install: build
39 dh_testdir
40 dh_testroot
41 dh_prep
42 dh_installdirs
43
44 # Add here commands to install the package into debian/<packagename>
45 $(MAKE) prefix=$(CURDIR)/debian/hfsutils/usr install_cli
46 $(MAKE) prefix=$(CURDIR)/debian/hfsutils-tcltk/usr install_tcl install_tk
47
48 # Build architecture-independent files here.
49 binary-indep: build install
50 # We have nothing to do by default.
51
52 # Build architecture-dependent files here.
53 binary-arch: build install
54 dh_testdir
55 dh_testroot
56 dh_link
57 dh_installchangelogs CHANGES
58 dh_installdocs
59 dh_installexamples
60 # dh_install
61 # dh_installmenu
62 # dh_installdebconf
63 # dh_installlogrotate
64 # dh_installemacsen
65 # dh_installcatalogs
66 # dh_installpam
67 # dh_installmime
68 # dh_installinit
69 # dh_installcron
70 # dh_installinfo
71 # dh_undocumented
72 dh_installman
73 dh_strip
74 dh_compress
75 dh_fixperms
76 # dh_perl
77 # dh_python
78 # dh_makeshlibs
79 dh_installdeb
80 dh_shlibdeps
81 dh_gencontrol
82 dh_md5sums
83 dh_builddeb
84
85 binary: binary-indep binary-arch
86 .PHONY: build clean clean1 binary-indep binary-arch binary install