# # Ikiwiki Makefile by Silvio Rhatto (rhatto at riseup.net). # # This Makefile is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation; either version 3 of the License, or any later version. # # This Makefile is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place - Suite 330, Boston, MA 02111-1307, USA # .PHONY: keyring web: @mkdocs build web_deploy: @rsync -avz --delete --exclude=keyring site/ debian:/var/sites/debian/www/ docs: web 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 && mkdir .gnupg && chmod 700 .gnupg @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