commit 66c482828471e35223d58880552a172ecc86b27f parent fc82fa80f2e5fd4d47b0c99c554db7b4dca87c85 Author: Jaromil <jaromil@dyne.org> Date: Tue, 3 Oct 2017 15:24:43 +0200 fix usage of gpg in rules also adds a build-indep nop target to avoid a warning from dpkg Diffstat:
M | debian/rules | | | 8 | +++++--- |
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules @@ -18,12 +18,14 @@ VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2) build: +build-indep: + clean: $(checkdir) -rm -f foo foo.asc *.bak *~ */*~ debian/files* debian/*substvars -rm -rf debian/tmp debian/devuan-keyring-udeb -binary-indep: checkroot checkkeyrings +binary-indep: checkroot $(checkdir) -rm -rf debian/tmp $(install_dir) debian/tmp/DEBIAN/ @@ -87,7 +89,7 @@ regenerate-key-fragments: sha512sum keyrings/*.gpg | gpg --clearsign > SHA512SUMS.txt.asc checkkeyrings: - gpg --no-default-keyring --keyring /usr/share/keyrings/devuan-keyring.gpg --decrypt SHA512SUMS.txt.asc | sha512sum -c - - gpg --no-default-keyring --keyring /usr/share/keyrings/devuan-keyring.gpg --decrypt md5sums.txt | md5sum -c - + gpg --no-default-keyring --keyring keyrings/devuan-keyring.gpg --decrypt SHA512SUMS.txt.asc | sha512sum -c - + gpg --no-default-keyring --keyring keyrings/devuan-keyring.gpg --decrypt md5sums.txt | md5sum -c - .PHONY: binary binary-arch binary-indep clean checkkeyrings checkroot build