diff options
| author | Bdale Garbee <bdale@gag.com> | 2009-10-12 16:48:43 -0600 |
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2009-10-12 16:48:43 -0600 |
| commit | 241a860fe856b1dfad6e792736313648300d5c24 (patch) | |
| tree | de857258e3ad730eeb5f428b7e3be7dbe897a92b /debian/rules | |
| parent | 6c4cdc927b43736b39be29d23ac3dc723f69e4d6 (diff) | |
flush repetitive junk out of debian/changelog, and update the prebuild target
in debian/rules to put git commit details into the Debian changelog
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 74cc078d..0033fcbe 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ 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-dch --release --new-version=`git describe | tr - +` git log > ChangeLog git commit ChangeLog debian/changelog \ -m "update changelogs for Debian build" |
