move the ChangeLog creation to the prebuild target
authorBdale Garbee <bdale@gag.com>
Wed, 19 Aug 2009 02:08:10 +0000 (20:08 -0600)
committerBdale Garbee <bdale@gag.com>
Wed, 19 Aug 2009 02:08:10 +0000 (20:08 -0600)
debian/rules

index 8ea2a60a74345e9b8f8ce7fe93bbb73290f15026..ca1bb03ad57d5b8163eeb4ba6b6887a3240e6d17 100755 (executable)
@@ -8,13 +8,12 @@ PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p')
 prebuild:
        dch -v `git describe | tr - +` "build for Debian from git"
        git commit debian/changelog -m "update Debian changelog for build"
-       
+       git log > ChangeLog
 
 configure: configure-stamp
 configure-stamp:
        dh_testdir
        ./autogen.sh --prefix=/usr
-       make ChangeLog
        touch configure-stamp
 
 build: build-stamp