X-Git-Url: http://git.sthu.org/?a=blobdiff_plain;f=debian%2Frules;h=4c27780c2f828b69230645a5c33bce88c2caf840;hb=7222facc3059430fd065e562ede70eb8e3362343;hp=006dd578f5c40eb23006a831b148d192173135e7;hpb=64c7633d8aaa00225faad9130bf0ec1a047a3242;p=pgp-tools.git diff --git a/debian/rules b/debian/rules index 006dd57..4c27780 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +VERSION := $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2) + configure: configure-stamp configure-stamp: dh_testdir @@ -26,14 +28,18 @@ install: build dh_install dh_installman */*.1 install -d $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/caff - install caff/README \ + install -m 644 caff/README \ caff/README.gpg-agent \ caff/README.many-keys \ caff/README.v3-keys \ caff/caffrc.sample \ $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/caff + install -d $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/examples + install -m 644 gpgsigs/gpgsigs-lt2k5*.txt \ + $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/examples install -d $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/keylookup - install keylookup/NEWS $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/keylookup + install -m 644 keylookup/NEWS \ + $(CURDIR)/debian/signing-party/usr/share/doc/signing-party/keylookup binary-indep: build install dh_testdir @@ -48,7 +54,7 @@ binary-indep: build install dh_installdeb dh_shlibdeps dh_gencontrol -psigning-party - dh_gencontrol -pkeylookup -- -v3.0-1 + dh_gencontrol -pkeylookup -- -v3.0.$(VERSION) dh_md5sums dh_builddeb