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
master
Mike Gerwitz 2016-08-23 11:33:51 -04:00
parent ebb88b9345
commit 1475c12adc
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
/test/**/xspec/
/src/**/*.texi
/src/conf.xsl
/VERSION
*.apply
*.info

1
VERSION.in 100644
View File

@ -0,0 +1 @@
@VERSION@

View File

@ -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