]> git.donarmstrong.com Git - debbugs.git/blob - debian/rules
[project @ 2000-10-07 16:20:57 by joy]
[debbugs.git] / debian / rules
1 #!/usr/bin/make -f
2 # Made with the aid of dh_make, by Craig Small
3 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
4 # Some lines taken from debmake, by Cristoph Lameter.
5
6 # Uncomment this to turn on verbose mode.
7 #export DH_VERBOSE=1
8
9 tmp_dir         := $(CURDIR)/debian/tmp
10
11 build:
12 # There is nothing to build here, so this rule can be left empty.
13
14 clean:
15         dh_testdir
16         dh_testroot
17         #something to remove all trace and *.trace files?
18         dh_clean build-stamp
19
20 binary-arch:
21 # nothing to do, as there aren't any architecture-dependent packages
22
23 binary-indep: build install
24         dh_testdir
25         dh_testroot
26         dh_clean -k
27         dh_installdirs
28         $(MAKE) install_mostfiles DESTDIR=$(tmp_dir)
29         dh_installdocs
30         dh_installchangelogs
31         dh_strip
32         dh_compress -X examples/text
33         dh_fixperms
34         #chown bugs.bugs $(var_dir)/spool/incoming
35         dh_installdeb
36         dh_shlibdeps
37         dh_gencontrol
38         dh_md5sums
39         dh_builddeb
40
41 binary: binary-indep binary-arch
42 .PHONY: build clean install binary-indep binary-arch binary