[gtk-vnc] Fix ChangeLog generation



commit 5fa1e0a5075b487f4e254d6f0f7249f00d1a163b
Author: Daniel P. Berrange <berrange redhat com>
Date:   Sun Jul 11 20:09:23 2010 +0100

    Fix ChangeLog generation
    
    Cannot assume changelog generation is run directlyin source
    directory

 Makefile.am |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c9a3765..1b65ee2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,18 +54,11 @@ MAINTAINERCLEANFILES = 		\
 
 GITIGNOREFILES = plugin/gtk-vnc-plugin.la plugin/gtk-vnc-plugin.so
 
-dist-hook: gen-ChangeLog
-
-# Generate the ChangeLog file (with all entries since the switch to git)
-# and insert it into the directory we're about to use to create a tarball.
-gen_start_date = 2009-07-04
-.PHONY: gen-ChangeLog
-gen-ChangeLog:
-        if test -d .git; then                                   \
-          $(top_srcdir)/build-aux/gitlog-to-changelog           \
-            --since=$(gen_start_date) > $(distdir)/cl-t;        \
-          rm -f $(distdir)/ChangeLog;                           \
-          mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
-        fi
+gen_start_date = 2008-12-07
+dist-hook:
+	$(top_srcdir)/build-aux/gitlog-to-changelog           \
+            --since=$(gen_start_date) > $(distdir)/cl-t;      \
+        rm -f $(distdir)/ChangeLog;                           \
+        mv $(distdir)/cl-t $(distdir)/ChangeLog;
 
 -include $(top_srcdir)/git.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]