summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xacprep2
-rw-r--r--version.m4.in1
2 files changed, 1 insertions, 2 deletions
diff --git a/acprep b/acprep
index d9ff4c63..54a2f598 100755
--- a/acprep
+++ b/acprep
@@ -20,7 +20,7 @@ fi
COMMIT=$(git describe --all --long | sed 's/heads\///')
-cat version.m4.in | sed "s/%VERSION%/$COMMIT/" > version.m4
+echo "m4_define([VERSION_NUMBER], [$COMMIT])" > version.m4
autoreconf --force --install
diff --git a/version.m4.in b/version.m4.in
deleted file mode 100644
index 16c30544..00000000
--- a/version.m4.in
+++ /dev/null
@@ -1 +0,0 @@
-m4_define([VERSION_NUMBER], [%VERSION%])