diff options
Diffstat (limited to 'dm-packaging/Makefile')
-rw-r--r-- | dm-packaging/Makefile | 27 |
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 |