]> git.sthu.org Git - pgp-tools.git/blob - debian/rules
install gpgsigs example; use install -m 644
[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 -m 644 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/examples
38 install -m 644 gpgsigs/gpgsigs-lt2k5*.txt \
39 $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/examples
40 install -d $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/keylookup
41 install -m 644 keylookup/NEWS \
42 $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/keylookup
43
44 binary-indep: build install
45 dh_testdir
46 dh_testroot
47 dh_installdocs
48 dh_installmenu
49 dh_installcron
50 dh_installinfo
51 dh_installchangelogs
52 dh_compress
53 dh_fixperms
54 dh_installdeb
55 dh_shlibdeps
56 dh_gencontrol -psigning-party
57 dh_gencontrol -pkeylookup -- -v3.0.$(VERSION)
58 dh_md5sums
59 dh_builddeb
60
61 # Build architecture-dependent files here.
62 binary-arch: build install
63
64 binary: binary-indep
65 .PHONY: build clean binary-indep binary-arch binary install configure