diff options
| author | Keith Packard <keithp@keithp.com> | 2009-11-01 20:59:02 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-11-01 20:59:02 -0800 |
| commit | 0b483233118673cbc2cda1be6acd379df82bc95a (patch) | |
| tree | e27e31df492974b3e82b69b1f358a6e95409b106 /debian/rules | |
| parent | ca5d323a3d206050d95f52a61e92c69e1f54e7b5 (diff) | |
| parent | 550482d953c491a5ede9f2d243493afb13289898 (diff) | |
Merge remote branch 'origin/master' into skytraq
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 74cc078d..ac594c07 100755 --- a/debian/rules +++ b/debian/rules @@ -3,13 +3,16 @@ export DH_VERBOSE=1 PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p') +DEB_VERSION := $(shell git describe | tr - +) # 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=$(DEB_VERSION) git log > ChangeLog git commit ChangeLog debian/changelog \ -m "update changelogs for Debian build" + git tag debian/$(DEB_VERSION) + git push --tags origin master configure: configure-stamp configure-stamp: |
