gnome-specimen r212 - trunk



Author: wbolster
Date: Wed Jun 18 09:11:09 2008
New Revision: 212
URL: http://svn.gnome.org/viewvc/gnome-specimen?rev=212&view=rev

Log:
Generate ChangeLog on dist, not in dist-hook.


Modified:
   trunk/   (props changed)
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Wed Jun 18 09:11:09 2008
@@ -15,14 +15,17 @@
 
 EXTRA_DIST += ChangeLog
 
-dist-hook:
-	if [ -d .bzr ]; then
-		echo "Creating ChangeLog from Bazaar revision logs"
-		bzr log --long --verbose > $(distdir)/ChangeLog
-	elseif [ -d .svn ]; then
-		echo "Creating ChangeLog from Subversion revision logs"
-		svn log > $(distdir)/ChangeLog
-	fi
+dist: ChangeLog
+
+ChangeLog: force-run
+	@if [ -d .bzr ]; then \
+		echo -n "Creating ChangeLog from Bazaar revision logs..."; \
+		bzr log --long --verbose > $@; \
+	elif [ -d .svn ]; then \
+		echo -n "Creating ChangeLog from Subversion revision logs..."; \
+		svn log > $@; \
+	fi; \
+	echo " done"
 
 #
 # Executable to be installed



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