Mercurial > hg > chrpath
comparison deb/rules @ 0:b8f7423e385c
import 0.13
author | Peter Meerwald <pmeerw@pmeerw.net> |
---|---|
date | Fri, 20 Jul 2012 01:51:24 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b8f7423e385c |
---|---|
1 #!/usr/bin/make -f | |
2 # Sample debian/rules that uses debhelper. | |
3 # GNU copyright 1997 to 1999 by Joey Hess. | |
4 | |
5 # Uncomment this to turn on verbose mode. | |
6 #export DH_VERBOSE=1 | |
7 | |
8 # This is the debhelper compatability version to use. | |
9 export DH_COMPAT=3 | |
10 export LANG=C | |
11 | |
12 configure: configure-stamp | |
13 configure-stamp: | |
14 dh_testdir | |
15 ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info | |
16 | |
17 touch configure-stamp | |
18 | |
19 build: build-stamp | |
20 build-stamp: configure-stamp | |
21 dh_testdir | |
22 | |
23 $(MAKE) | |
24 $(MAKE) check | |
25 touch build-stamp | |
26 | |
27 clean: | |
28 dh_testdir | |
29 dh_testroot | |
30 rm -f build-stamp configure-stamp | |
31 | |
32 -$(MAKE) distclean | |
33 | |
34 dh_clean | |
35 | |
36 install: build | |
37 dh_testdir | |
38 dh_testroot | |
39 dh_clean -k | |
40 dh_installdirs | |
41 | |
42 $(MAKE) install prefix=$(CURDIR)/debian/chrpath/usr docdir=$(CURDIR)/debian/chrpath/usr/share/doc/chrpath | |
43 | |
44 # No need to add an extra license. | |
45 rm -f $(CURDIR)/debian/chrpath/usr/share/doc/chrpath/COPYING \ | |
46 $(CURDIR)/debian/chrpath/usr/share/doc/chrpath/INSTALL | |
47 | |
48 | |
49 # Build architecture-independent files here. | |
50 binary-indep: build install | |
51 # We have nothing to do by default. | |
52 | |
53 # Build architecture-dependent files here. | |
54 binary-arch: build install | |
55 dh_testdir | |
56 dh_testroot | |
57 dh_installdocs | |
58 dh_installman chrpath.1 | |
59 dh_undocumented | |
60 dh_installchangelogs ChangeLog | |
61 dh_link | |
62 dh_strip | |
63 dh_compress | |
64 dh_fixperms | |
65 dh_installdeb | |
66 dh_shlibdeps | |
67 dh_gencontrol | |
68 dh_md5sums | |
69 dh_builddeb | |
70 | |
71 binary: binary-indep binary-arch | |
72 .PHONY: build clean binary-indep binary-arch binary install configure |