Commit 66c48282 authored by Jaromil's avatar Jaromil

fix usage of gpg in rules

also adds a build-indep nop target to avoid a warning from dpkg
parent fc82fa80
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment