we need ChangeLog in the repo for git-buildpackage to work right
authorBdale Garbee <bdale@gag.com>
Wed, 19 Aug 2009 02:17:08 +0000 (20:17 -0600)
committerBdale Garbee <bdale@gag.com>
Wed, 19 Aug 2009 02:17:08 +0000 (20:17 -0600)
ChangeLog [new file with mode: 0644]
debian/rules

diff --git a/ChangeLog b/ChangeLog
new file mode 100644 (file)
index 0000000..e69de29
index ca1bb03ad57d5b8163eeb4ba6b6887a3240e6d17..078dac56cddff93a9e91161cd046e1181d255b42 100755 (executable)
@@ -7,8 +7,9 @@ PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p')
 # this target invoked by git-buildpackage using a clean hook, see .gbp.conf
 prebuild:
        dch -v `git describe | tr - +` "build for Debian from git"
-       git commit debian/changelog -m "update Debian changelog for build"
        git log > ChangeLog
+       git commit ChangeLog debian/changelog \
+               -m "update changelogs for Debian build"
 
 configure: configure-stamp
 configure-stamp: