Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitm@lovullo.com>2016-08-23 11:33:51 -0400
committerMike Gerwitz <gerwitm@lovullo.com>2016-08-23 11:33:51 -0400
commit1475c12adcab6ee17f5f6dbdaeb9a7ef67317aca (patch)
tree023985b373f97312a143db0c61bb75e416fc2269
parentebb88b93454c7c5b4af629c588b57dd54779c9ce (diff)
downloadtame-1475c12adcab6ee17f5f6dbdaeb9a7ef67317aca.tar.gz
tame-1475c12adcab6ee17f5f6dbdaeb9a7ef67317aca.tar.bz2
tame-1475c12adcab6ee17f5f6dbdaeb9a7ef67317aca.zip
Add generated VERSION
This is useful for shell scripts and the like (e.g. Autoconf macros). * .gitignore (/VERSION): Added * VERSION.in: Added * configure.ac: Process VERSION
-rw-r--r--.gitignore1
-rw-r--r--VERSION.in1
-rw-r--r--configure.ac2
3 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index a44f804..ed68862 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
/test/**/xspec/
/src/**/*.texi
/src/conf.xsl
+/VERSION
*.apply
*.info
diff --git a/VERSION.in b/VERSION.in
new file mode 100644
index 0000000..27323da
--- /dev/null
+++ b/VERSION.in
@@ -0,0 +1 @@
+@VERSION@ \ No newline at end of file
diff --git a/configure.ac b/configure.ac
index cdf8924..af0c12f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,7 @@ AS_IF(test ! -d "$HOXSL",
AC_MSG_ERROR([hoxsl path '$HOXSL' does not exist!]))
AC_MSG_RESULT(found)
-AC_CONFIG_FILES([Makefile doc/Makefile src/init.xsl])
+AC_CONFIG_FILES([Makefile doc/Makefile src/init.xsl VERSION])
AC_OUTPUT