aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-10 16:53:04 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-10 16:53:38 -0400
commit2badf04eeb1898d5b77c171a28a1b263cca16313 (patch)
tree87fb49ea99b69b609480e5f1436a3b9cea5b6759 /debian/rules
parente0aebe9cf31c3fd1e4e5b490f78c37deda857b3a (diff)
The version number is now derived from git, unless built with VERSION_FROM_CHANGELOG.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index a0231eb60..da5596871 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
# Avoid using cabal, as it writes to $HOME
export CABAL=./Setup
+# Do use the changelog's version number, rather than making one up.
+export VERSION_FROM_CHANGELOG=1
+
%:
dh $@