summaryrefslogtreecommitdiffstats
path: root/dm-packaging/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 14:25:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 14:25:47 +0000
commit4ed1a6e1d4fcb1ba272a4fb3931b33d1c6fbee0d (patch)
tree26048107dbe7d72d60d9339d90f5cfe678937863 /dm-packaging/Makefile
parentInitial commit. (diff)
downloaddebian-keyring-4ed1a6e1d4fcb1ba272a4fb3931b33d1c6fbee0d.tar.xz
debian-keyring-4ed1a6e1d4fcb1ba272a4fb3931b33d1c6fbee0d.zip
Adding upstream version 2023.12.24.upstream/2023.12.24
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