diff options
| author | 2010-05-09 18:11:46 +0200 | |
|---|---|---|
| committer | 2010-05-09 18:17:38 +0200 | |
| commit | 2793c0d6dde05bb4af74c37467f3ea4a97edf9a9 (patch) | |
| tree | 4f61fe4144b90b6a7f72429473afc4fd4c3d7048 | |
| parent | 5d7749b049859a2b51a0b22607a257d0a8259905 (diff) | |
update pkg_version on clean target
So I can't forget to update before a new release.
| -rwxr-xr-x | debian/rules | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index 3d6bcd4..a37d358 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,9 @@ DEB_PYTHON_SYSTEM=pysupport include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk -update-version: +minidinstall/version.py: debian/changelog echo "pkg_version = \"$(DEB_UPSTREAM_VERSION)\"" > minidinstall/version.py -.PHONY: update-version +clean:: minidinstall/version.py + +.PHONY: minidinstall/version.py |
