From d5e15d2fd783d26cba8dc304f3fe3ed68c047fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 11 Mar 2017 19:00:08 -0500 Subject: [PATCH 1/3] build-sys: make more targets .PHONY --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 621296b6cf..b415004193 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6774,14 +6774,17 @@ cppcheck: print-%: @echo $($*) +.PHONY: git-contrib git-contrib: @git shortlog -s `git describe --abbrev=0`.. | cut -c8- | sed 's/ / /g' | awk '{ print $$0 "," }' | sort -u EXTRA_DIST += \ tools/gdb-sd_dump_hashmaps.py +.PHONY: list-keys list-keys: gpg --verbose --no-options --no-default-keyring --no-auto-key-locate --batch --trust-model=always --keyring=$(srcdir)/src/import/import-pubring.gpg --list-keys +.PHONY: add-key add-key: gpg --verbose --no-options --no-default-keyring --no-auto-key-locate --batch --trust-model=always --keyring=$(srcdir)/src/import/import-pubring.gpg --import - From 92f58d6647eeb1874c7f14af7699b5479b097ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 11 Mar 2017 19:09:27 -0500 Subject: [PATCH 2/3] build-sys: simplify git tar invocation git is nowadays nice enough to compress based on the output file suffix, let's make use of that. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b415004193..407efab45e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6632,7 +6632,7 @@ git-tag: .PHONY: git-tar git-tar: - git archive --format=tar --prefix=systemd-$(VERSION)/ HEAD | gzip > systemd-$(VERSION).tar.gz + git archive -o systemd-$(VERSION).tar.gz --prefix=systemd-$(VERSION)/ HEAD www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd From 1e7a425100d059ed277b50e6e8ee623e93bde255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 11 Mar 2017 19:17:38 -0500 Subject: [PATCH 3/3] build-sys: add helper command to sign tarballs --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 407efab45e..bd313a5d15 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6634,6 +6634,9 @@ git-tag: git-tar: git archive -o systemd-$(VERSION).tar.gz --prefix=systemd-$(VERSION)/ HEAD +%.asc: % + gpg2 --detach-sign -a -o $@ $< + www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd .PHONY: doc-sync