conf.xsl generation during build

Exposes build configuration to XSL templates.
master
Mike Gerwitz 2015-07-09 17:01:23 -04:00
parent 4c02324720
commit 55cfeac10a
3 changed files with 31 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
/test/index.html
/test/**/xspec/
/src/**/*.texi
/conf.xsl
*.apply
*.info

29
conf.xsl.in 100644
View File

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!--
General configuration
Copyright (C) 2015 LoVullo Associates, Inc.
This file is part of TAME.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
<http://www.gnu.org/licenses/>.
-->
<stylesheet version="2.0"
xmlns="http://www.w3.org/1999/XSL/Transform">
<!-- hoxsl path is configured at build time -->
<import href="@HOXSL@/apply/thrush.xsl" />
</stylesheet>

View File

@ -33,7 +33,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])
AC_CONFIG_FILES([Makefile doc/Makefile conf.xsl])
AC_OUTPUT