The following commit has been merged in the master branch:
commit 2b3e9afffc05c93ce1d7ef6ec197ea885e01de55
Author: Guillem Jover <[email protected]>
Date:   Tue May 28 05:08:40 2013 +0200

    build: Handle the ChangeLog as a distributed-only file
    
    The ChangeLog file is distributed, and cannot be regenerated outside
    of the git repository, so do not remove it in DISTCLEANFILES, and move
    the generation code into dist-hook, which also avoids unnecessary
    computation during normal builds.

diff --git a/Makefile.am b/Makefile.am
index 7e8c2c9..3516e78 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -148,12 +148,6 @@ update-po:
        $(MAKE) -C dselect/po update-po
        $(MAKE) -C man update-po
 
-.PHONY: ChangeLog
-DISTCLEANFILES = ChangeLog
-
-ChangeLog:
-       git log -C --stat 1.15.0.. >$@
-
 # If we create the dist tarball from the git repository, make sure
 # that we're not forgetting some files...
 dist-hook:
@@ -165,6 +159,7 @@ dist-hook:
                                exit 1 ; \
                        fi ; \
                done ; \
+               git log -C --stat 1.15.0.. >$(distdir)/ChangeLog; \
        fi
 
 clean-local: doc-clean coverage-clean check-clean

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to