Codebase list debian-goodies / d071744
Finally switch to dh v7 style debian/rules file Axel Beckert 10 years ago
2 changed file(s) with 11 addition(s) and 49 deletion(s). Raw diff Collapse all Expand all
66 [ Axel Beckert ]
77 * Bump debhelper compatibility to 7 to be able to use some more recent
88 features. Update versioned debhelper build-dependency accordingly.
9 * Revamp debian/rules
910 + No more remove stamp files manually.
10 * Use debian/links instead of calling ln manually in debian/rules
11 * Use dh_install/dh_link to install all the scripts
12 * Use debian/manpages instead of parameters to dh_installman
13 * Use debian/docs instead of parameters to dh_installdocs
14 * Fix lintian warning dh-clean-k-is-deprecated and use dh_prep
11 + Use debian/links instead of calling ln manually in debian/rules
12 + Use dh_install/dh_link to install all the scripts
13 + Use debian/manpages instead of parameters to dh_installman
14 + Use debian/docs instead of parameters to dh_installdocs
15 + Fix lintian warning dh-clean-k-is-deprecated and use dh_prep
16 + Finally switch to dh v7 style debian/rules file
1517 * Apply wrap-and-sort
1618
1719 -- Axel Beckert <abe@debian.org> Thu, 04 Jul 2013 17:28:35 +0200
00 #!/usr/bin/make -f
1 # Sample debian/rules that uses debhelper.
2 # GNU copyright 1997 to 1999 by Joey Hess.
31
42 # Uncomment this to turn on verbose mode.
53 #export DH_VERBOSE=1
64
75 PODDOC=debget dglob dgrep dpigs
86
9 build: build-arch build-indep
10 build-arch: build-stamp
11 build-indep: build-stamp
12 build-stamp:
13 dh_testdir
7 %:
8 dh $@
149
10 override_dh_auto_install:
1511 for prog in $(PODDOC); do pod2man -c "Debian-goodies documentation" $$prog.pod > $$prog.1; done
1612
17 touch build-stamp
18
19 clean:
20 dh_testdir
21 dh_testroot
13 override_dh_auto_clean:
2214 for prog in $(PODDOC); do rm -f $$prog.1; done
23
24 dh_clean
25
26 install: build
27 dh_testdir
28 dh_testroot
29 dh_prep
30 dh_installdirs
31 dh_install
32
33 # Build architecture-dependent files here.
34 # We have nothing to do by default.
35 binary-arch: build install
36
37 # Build architecture-independent files here.
38 binary-indep: build install
39 dh_testdir
40 dh_testroot
41 dh_installdocs
42 dh_installman
43 # dh_undocumented
44 dh_installchangelogs
45 dh_link
46 dh_compress
47 dh_fixperms
48 dh_installdeb
49 dh_gencontrol
50 dh_md5sums
51 dh_builddeb
52
53 binary: binary-indep binary-arch
54 .PHONY: build clean binary-indep binary-arch binary install configure