1. shuerhaaken
  2. libtaginfo

Commits

shuerhaaken  committed 4e649f9

fix dist-hook

  • Participants
  • Parent commits 6313ce8
  • Branches master

Comments (0)

Files changed (2)

File ChangeLog

View file
  • Ignore whitespace
+commit 6313ce825ad9c52f22212da5e9fd85b95a370c04
+Author: Jörn Magens <shuerhaaken@googlemail.com>
+Date:   Wed Oct 23 18:54:43 2013 +0200
+
+    autotools adjustments
+
 commit 48a185045131dd14a69fdca43267d5c99cc5adef
 Author: Jörn Magens <shuerhaaken@googlemail.com>
 Date:   Wed Oct 23 18:43:05 2013 +0200

File Makefile.am

View file
  • Ignore whitespace
     config.sub \
     aclocal.m4
 
-dist-hook: ChangeLog
 
-ChangeLog: configure.ac
-	git log > ChangeLog
+dist-hook: gen-ChangeLog
+
+.PHONY: gen-ChangeLog
+gen-ChangeLog: configure.ac
+	if test -d .git; then \
+	  git log > '.changelog.tmp'; \
+	  mv -f .changelog.tmp ChangeLog; \
+	  rm -f .changelog.tmp; \
+	fi