diff options
author | Mike Gerwitz <gerwitm@lovullo.com> | 2015-07-09 17:01:23 -0400 |
---|---|---|
committer | Mike Gerwitz <gerwitm@lovullo.com> | 2015-07-10 12:46:39 -0400 |
commit | 55cfeac10af402f9bd7f4aad1fbe6ebb6076c31c (patch) | |
tree | b65d2b58da91f3716f57850fa918b83fa3262ce9 | |
parent | 4c023247201855a1a93806bf7f8929ee37bb4ec1 (diff) | |
download | tame-55cfeac10af402f9bd7f4aad1fbe6ebb6076c31c.tar.gz tame-55cfeac10af402f9bd7f4aad1fbe6ebb6076c31c.tar.bz2 tame-55cfeac10af402f9bd7f4aad1fbe6ebb6076c31c.zip |
conf.xsl generation during build
Exposes build configuration to XSL templates.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | conf.xsl.in | 29 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 31 insertions, 1 deletions
@@ -1,6 +1,7 @@ /test/index.html /test/**/xspec/ /src/**/*.texi +/conf.xsl *.apply *.info diff --git a/conf.xsl.in b/conf.xsl.in new file mode 100644 index 0000000..22ed9d8 --- /dev/null +++ b/conf.xsl.in @@ -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> diff --git a/configure.ac b/configure.ac index 7088542..432be62 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |