summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-05-09 05:25:51 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-05-11 20:50:12 -0400
commit83b052e7442a7343e24443079ba1aea82e9fc8c3 (patch)
treee5bf48831717e4bf87571fb16ea52b85d573c827 /acprep
parent53b9ec2f0cf742fcaef175b8e28f26f68afdbaa7 (diff)
downloadfork-ledger-83b052e7442a7343e24443079ba1aea82e9fc8c3.tar.gz
fork-ledger-83b052e7442a7343e24443079ba1aea82e9fc8c3.tar.bz2
fork-ledger-83b052e7442a7343e24443079ba1aea82e9fc8c3.zip
Use git-describe to determine the current Ledger source version.
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep3
1 files changed, 3 insertions, 0 deletions
diff --git a/acprep b/acprep
index ccd6541e..f3aad923 100755
--- a/acprep
+++ b/acprep
@@ -18,6 +18,9 @@ cmd=$(which glibtoolize 2>&1)
if [ -x "$cmd" ]; then
export LIBTOOLIZE="$cmd"
fi
+
+cat configure.tmpl | sed "s/%VERSION%/$(git describe)/" > configure.in
+
autoreconf --force --install
INCDIRS="-I/sw/include -I/opt/local/include"