summaryrefslogtreecommitdiffstats
path: root/dm-packaging/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:19:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:19:41 +0000
commita27c8b00ebf173659f22f53ce65679e94e7dfb1b (patch)
tree02c68ec259348b63c6328896aa73265eb7b3d730 /dm-packaging/Makefile
parentInitial commit. (diff)
downloaddebian-keyring-a27c8b00ebf173659f22f53ce65679e94e7dfb1b.tar.xz
debian-keyring-a27c8b00ebf173659f22f53ce65679e94e7dfb1b.zip
Adding upstream version 2022.12.24.upstream/2022.12.24upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dm-packaging/Makefile')
-rw-r--r--dm-packaging/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/dm-packaging/Makefile b/dm-packaging/Makefile
new file mode 100644
index 0000000..70b9d92
--- /dev/null
+++ b/dm-packaging/Makefile
@@ -0,0 +1,27 @@
+export JETRING_SIGN=$(shell if [ -e admins.gpg ]; then echo admins.gpg; else echo "** Warning: Generating keyring without checking signatures!" >&2 ; fi)
+
+all: admins.gpg debian-maintainers.gpg
+
+debian-maintainers.gpg: debian-maintainers/index
+ jetring-build -I $@ debian-maintainers
+
+admins.gpg: admins/index
+ jetring-build -I $@ admins
+
+test:
+ ./runtests
+
+rsync-keys:
+ @mkdir -p cache
+ @if [ "$$ONLINE" != n ]; then \
+ echo "Updating Debian keyring cache" >&2; \
+ rsync -qcltz --block-size=8192 --partial --progress --exclude='emeritus-*' --exclude='removed-*' 'keyring.debian.org::keyrings/keyrings/*' cache/; \
+ else \
+ echo "Not updating Debian keyring cache, ONLINE=n is set" >&2; \
+ fi
+
+clean:
+ rm -f debian-maintainers.gpg* admins.gpg.*
+
+distclean: clean
+ rm -rf cache