]> git.sthu.org Git - pgp-tools.git/blob - debian/rules
Updated debian/control.
[pgp-tools.git] / debian / rules
1 #!/usr/bin/make -f
2
3 VERSION := $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2)
4
5 configure: configure-stamp
6 configure-stamp:
7 dh_testdir
8 touch $@
9
10 build: build-stamp
11 build-stamp: configure-stamp
12 dh_testdir
13 $(MAKE)
14 touch $@
15
16 clean:
17 dh_testdir
18 dh_testroot
19 $(MAKE) clean
20 rm -f build-stamp configure-stamp
21 dh_clean
22
23 install: build
24 dh_testdir
25 dh_testroot
26 dh_clean -k
27 dh_installdirs
28 $(MAKE) install DESTDIR=$(CURDIR)/debian/signing-party
29 dh_install
30 dh_installman */*.1 */*/*.1
31 install -d $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/caff
32 install -m 644 caff/README \
33 caff/README.gpg-agent \
34 caff/README.many-keys \
35 caff/README.v3-keys \
36 caff/caffrc.sample \
37 $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/caff
38 # ignore errors with older debhelper versions
39 -dh_lintian
40
41 binary-indep: build install
42 dh_testdir
43 dh_testroot
44 dh_installdocs
45 dh_installmenu
46 dh_installcron
47 dh_installinfo
48 dh_installchangelogs
49 dh_strip
50 dh_compress
51 dh_fixperms
52 dh_installdeb
53 dh_shlibdeps
54 dh_gencontrol
55 dh_md5sums
56 dh_builddeb
57
58 # Build architecture-dependent files here.
59 binary-arch: build install
60
61 binary: binary-indep
62 .PHONY: build clean binary-indep binary-arch binary install configure