PolicyKit: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Sun Apr 8 14:25:32 PDT 2007
Makefile.am | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+)
New commits:
diff-tree d140ff6aefca053cb796a7b05e97ecec9e038067 (from e2a465d0f9a16b501754b03267d743ac20135973)
Author: David Zeuthen <davidz at redhat.com>
Date: Sun Apr 8 17:25:31 2007 -0400
generate and dist ChangeLog
diff --git a/Makefile.am b/Makefile.am
index 3d285ee..c9392e6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,5 +9,27 @@ DISTCLEANFILES = libpolkit.pc
EXTRA_DIST = HACKING libpolkit.pc.in mkinstalldirs
+# Creating ChangeLog from git log (taken from cairo/Makefile.am):
+ChangeLog: $(srcdir)/ChangeLog
+
+$(srcdir)/ChangeLog:
+ @if test -d "$(srcdir)/.git"; then \
+ (cd "$(srcdir)" && \
+ ./missing --run git-log --stat) | fmt --split-only > $@.tmp \
+ && mv -f $@.tmp $@ \
+ || ($(RM) $@.tmp; \
+ echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
+ (test -f $@ || echo git-log is required to generate this file >> $@)); \
+ else \
+ test -f $@ || \
+ (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
+ echo A git checkout and git-log is required to generate this file >> $@); \
+ fi
+
+.PHONY: ChangeLog $(srcdir)/ChangeLog
+
+EXTRA_DIST = HACKING libpolkit.pc.in mkinstalldirs ChangeLog
+
+
clean-local :
rm -f *~
More information about the hal-commit
mailing list