]> git.wh0rd.org Git - fontconfig.git/commitdiff
Fix distcheck
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 24 Jun 2009 18:43:32 +0000 (14:43 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 24 Jun 2009 18:43:43 +0000 (14:43 -0400)
Makefile.am

index 2d1de2bbe8c13033ead4a01f015d81d7c0f409c1..e08857e596c74dbbcd357b9c3bb70481e73bf74b 100644 (file)
@@ -63,11 +63,10 @@ endif
 
 # Creating ChangeLog from git log:
 
-MAINTAINERCLEANFILES += ChangeLog
-
+MAINTAINERCLEANFILES += $(srcdir)/ChangeLog
 EXTRA_DIST += ChangeLog
-
-ChangeLog:
+ChangeLog: $(srcdir)/ChangeLog
+$(srcdir)/ChangeLog:
        if test -d "$(srcdir)/.git"; then \
          (GIT_DIR=$(top_srcdir)/.git ./missing --run git log --stat) | fmt --split-only > $@.tmp \
          && mv -f $@.tmp $@ \