]> git.donarmstrong.com Git - debbugs.git/blob - debian/rules
[project @ 2000-10-08 15:59:33 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_undocumented debbugsconfig.8
32         dh_strip
33         dh_compress -X examples/text
34         dh_fixperms
35         #chown bugs.bugs $(var_dir)/spool/incoming
36         dh_installdeb
37         dh_shlibdeps
38         dh_gencontrol
39         dh_md5sums
40         dh_builddeb
41
42 binary: binary-indep binary-arch
43 .PHONY: build clean install binary-indep binary-arch binary