summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/Version.hs3
-rwxr-xr-xdebian/create-standalone-changelog2
2 files changed, 1 insertions, 4 deletions
diff --git a/Build/Version.hs b/Build/Version.hs
index 82cca034f..da9d1bbcb 100644
--- a/Build/Version.hs
+++ b/Build/Version.hs
@@ -67,6 +67,3 @@ cabalSetup cabalfile = do
| otherwise = s
where
fullfield = field ++ ": "
-
-main :: IO ()
-main = putStr =<< getVersion
diff --git a/debian/create-standalone-changelog b/debian/create-standalone-changelog
index 40b0c6964..d972f4e30 100755
--- a/debian/create-standalone-changelog
+++ b/debian/create-standalone-changelog
@@ -9,7 +9,7 @@ umask 022
# This is the same method that the configure script uses when git-annex is
# built from git master.
-ANNEX_VERSION=$(runghc Build/Version.hs)
+ANNEX_VERSION=$(runghc Build/BuildVersion.hs)
ANNEX_NDVERSION=$( echo ${ANNEX_VERSION} | sed -e 's,-,+git,' -e 's,$,-1~ndall+1,')