blob: 47893ec7350169823aaf31de92462fbadb30139e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#
# 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:
@ikiwiki --setup ikiwiki.setup
web_deploy:
@rsync -avz --delete --exclude=keyring www/ debian:/var/sites/debian/www/
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
|