aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-11 13:47:24 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-11 13:48:14 +0200
commit23eea1d132120198745dcca32728906d5f05dc5f (patch)
treee3acda5ecf4c18b530c6919160c50446b05a26fb /debian
parent81bc2aea53a6dbca8b1b3f32a042afb3db5640d1 (diff)
Use osmocom-style git-version-gen / .version magic
This generates the version number from the latest tag + git history Change-Id: I71e1c3f8f534d9e9690c94068eccdee29a6fee12
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 5562909..8710fa0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,3 +12,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
override_dh_strip:
dh_strip --dbg-package=openggsn-dbg
+
+override_dh_autoreconf:
+ echo $(VERSION) > .tarball-version
+ dh_autoreconf