diff options
author | Mike Gerwitz <gerwitm@lovullo.com> | 2016-08-23 11:33:51 -0400 |
---|---|---|
committer | Mike Gerwitz <gerwitm@lovullo.com> | 2016-08-23 11:33:51 -0400 |
commit | 1475c12adcab6ee17f5f6dbdaeb9a7ef67317aca (patch) | |
tree | 023985b373f97312a143db0c61bb75e416fc2269 | |
parent | ebb88b93454c7c5b4af629c588b57dd54779c9ce (diff) | |
download | tame-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-- | .gitignore | 1 | ||||
-rw-r--r-- | VERSION.in | 1 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -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 |