ref: db4b437c7b2bd8e6efc13418b44b0feca20878db
parent: edc5ca9effd42bc9839a073fdb61b7b18ccced17
author: Diego Biurrun <diego@biurrun.de>
date: Thu Jul 31 19:22:19 EDT 2014
build: Remove ChangeLog only on maintainer-clean, not distclean The file is automatically generated with Git, so in a distribution tarball without Git metadata it cannot be regenerated once deleted.
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,7 @@
dist_doc_DATA = AUTHORS COPYING NEWS README ChangeLog
-DISTCLEANFILES = ChangeLog
+MAINTAINERCLEANFILES = ChangeLog
ChangeLog: $(wildcard $(srcdir)/.git/logs/HEAD)
-cd $(srcdir) && git log > $(abs_builddir)/$(@)-tmp