diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -22,8 +22,14 @@ web: web_deploy: @rsync -avz --delete --exclude=keyring www/ debian:/var/sites/debian/www/ -keyring: - @rsync -az --progress keyring.debian.org::keyrings/ keyrings/ - @gpg --verify keyrings/sha512sums.txt - publish: web web_deploy + +keyring: + @rsync -az --progress keyring.debian.org::keyrings/ keyring/ + @gpg --verify keyring/sha512sums.txt + @cd keyring > /dev/null && sha512sum -c sha512sums.txt + @cd keyring > /dev/null && chmod 700 keyrings && ln -sf keyrings .gnupg #&& cd .gnupg && ln -sf debian-keyring.gpg trustedkeys.gpg + @cp .devscripts keyring/ + @gpg --no-default-keyring --keyring keyring/keyrings/debian-keyring.gpg --export | HOME=keyring/ gpg --import + @gpg --no-default-keyring --keyring keyring/keyrings/debian-maintainers.gpg --export | HOME=keyring/ gpg --import + @cd keyring/.gnupg && ln -sf pubring.kbx trustedkeys.kbx |