]> git.sthu.org Git - pgp-tools.git/blob - debian/rules
Install caff's pgp-fixkey.
[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 dh_install
29 dh_installman */*.1
30 install -d $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/caff
31 install caff/README \
32 caff/README.gpg-agent \
33 caff/README.many-keys \
34 caff/README.v3-keys \
35 caff/caffrc.sample \
36 $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/caff
37 install -d $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/keylookup
38 install keylookup/NEWS $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/keylookup
39
40 binary-indep: build install
41 dh_testdir
42 dh_testroot
43 dh_installdocs
44 dh_installmenu
45 dh_installcron
46 dh_installinfo
47 dh_installchangelogs
48 dh_compress
49 dh_fixperms
50 dh_installdeb
51 dh_shlibdeps
52 dh_gencontrol -psigning-party
53 dh_gencontrol -pkeylookup -- -v1:$(VERSION)
54 dh_md5sums
55 dh_builddeb
56
57 # Build architecture-dependent files here.
58 binary-arch: build install
59
60 binary: binary-indep
61 .PHONY: build clean binary-indep binary-arch binary install configure