[Nickle] nickle: Branch 'master'
Keith Packard
keithp at keithp.com
Sun Sep 23 20:35:44 PDT 2007
Makefile.am | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
New commits:
commit 8b2a4a6bcf0fa2bf0187560ce4805f7fcce8796f
Author: Keith Packard <keithp at koto.keithp.com>
Date: Sun Sep 23 20:34:58 2007 -0700
Construct ChangeLog from git history for distribution.
Including a Changelog with the distributed code allows people not using the
git version to see what has happened since the last release.
diff --git a/Makefile.am b/Makefile.am
index a9fbf31..fd9266c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,9 +17,19 @@ NICKLEFILES = builtin.5c math.5c scanf.5c mutex.5c \
DEBIAN = debian/nickle.install debian/changelog debian/compat \
debian/control debian/copyright debian/rules debian/lintian.override
-EXTRA_DIST = README.name autogen.sh \
+EXTRA_DIST = README.name autogen.sh ChangeLog \
$(NICKLEFILES) $(DEBIAN) nickle.1.in nickle.spec.in
+MAINTAINERCLEANFILES=ChangeLog
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || \
+ (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
+
+dist-hook: ChangeLog
+
nickleincludedir=$(includedir)/nickle
nickleinclude_HEADERS = \
More information about the Nickle
mailing list