[git] GPG-ERROR - branch, master, updated. libgpg-error-1.21-8-g1e6c5a7
by Werner Koch
cvs at cvs.gnupg.org
Mon Feb 8 19:49:49 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".
The branch, master has been updated
via 1e6c5a70b3b51f81d2fc1289129f6c3e1920ebcc (commit)
from 4b37d3ae19242f24e323da1a9462ad48b4bc8493 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1e6c5a70b3b51f81d2fc1289129f6c3e1920ebcc
Author: Werner Koch <wk at gnupg.org>
Date: Mon Feb 8 19:44:06 2016 +0100
build: Create an SWDB file during "make distcheck"
* Makefile.am (distcheck-hook): New.
--
The SWDB file is used to update the swdb.mac file from the
gnupg-doc repo which is the source for
https://gnupg.org/swdb.lst
https://gnupg.org/swdb.lst.sig
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/Makefile.am b/Makefile.am
index 4f9f094..baeba14 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,6 +47,20 @@ dist-hook: gen-ChangeLog
$(top_srcdir)/libgpg-error.spec.in > $(distdir)/libgpg-error.spec
@set -e; echo "$(VERSION)" > $(distdir)/VERSION
+distcheck-hook:
+ set -e; ( \
+ pref="#+macro: $$(echo $(PACKAGE_NAME)|tr '-' '_')_" ;\
+ reldate="$$(date -u +%Y-%m-%d)" ;\
+ echo "$${pref}ver $(PACKAGE_VERSION)" ;\
+ echo "$${pref}date $${reldate}" ;\
+ list='$(DIST_ARCHIVES)'; for i in $$list; do \
+ case "$$i" in *.tar.bz2) \
+ echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
+ echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
+ echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
+ esac;\
+ done ) | tee $(distdir).swdb
+
gen_start_date = 2011-12-01T00:00:00
.PHONY: gen-ChangeLog
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 14 ++++++++++++++
1 file changed, 14 insertions(+)
hooks/post-receive
--
Error codes used by GnuPG et al.
http://git.gnupg.org
More information about the Gnupg-commits
mailing list