]> git.sthu.org Git - pgp-tools.git/blob - debian/rules
gpg-mailkeys: Fix parameter escaping of printf, thanks
[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
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 install -d $(CURDIR)/debian/signing-party/usr/share/lintian/overrides
39 install -m 644 debian/overrides/signing-party $(CURDIR)/debian/signing-party/usr/share/lintian/overrides
40
41
42 binary-indep: build install
43 dh_testdir
44 dh_testroot
45 dh_installdocs
46 dh_installmenu
47 dh_installcron
48 dh_installinfo
49 dh_installchangelogs
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