summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-15 20:53:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-15 20:53:24 -0300
commit497d2af76200d40fdb964091c73b9ff9fd7b631e (patch)
tree69f06bbf7cfc8c5dadd09a15880e9fd82687ee18 /Makefile
parentbe632a0506b5d413b02b7e05ff83bdfaf7b8c58e (diff)
downloaddebian-497d2af76200d40fdb964091c73b9ff9fd7b631e.tar.gz
debian-497d2af76200d40fdb964091c73b9ff9fd7b631e.tar.bz2
Updates source checking instructions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8da8402..458ab42 100644
--- a/Makefile
+++ b/Makefile
@@ -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