xsltexi Texinfo file generation

master
Mike Gerwitz 2014-12-19 12:41:34 -05:00
parent d3315bce91
commit ae82e28cd3
5 changed files with 24 additions and 7 deletions

1
.gitignore vendored
View File

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

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "tools/xspec"]
path = tools/xspec
url = https://github.com/lovullo/xspec
[submodule "tools/xsltexi"]
path = tools/xsltexi
url = https://github.com/lovullo/xsltexi

View File

@ -25,7 +25,7 @@ test_apply := $(path_test)/apply/partial-test.xsl.apply \
$(path_test)/apply/thrush-test.xsl.apply \
$(path_test)/transform/apply-gen-test-in.xsl.apply
.PHONY: check test
.PHONY: check test texis
test: check
check: $(test_apply)
@ -35,6 +35,3 @@ check: $(test_apply)
$(JAVA) -jar "$(SAXON_CP)" \
-xsl:"$(path_src)/transform/apply-gen.xsl" \
"$<" > "$@"
clean:
$(RM) "$(test_in_apply_gen)"

View File

@ -18,7 +18,22 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
##
path_src := ../src
path_tools := ../tools
stylesheets := $(shell find "$(path_src)" -name '*.xsl')
stexi := $(stylesheets:.xsl=.texi)
info_TEXINFOS = hoxsl.texi
hoxsl_TEXINFOS = license.texi
hoxsl_TEXINFOS = license.texi $(stexi)
MAKEINFOHTML=$(MAKEINFO) --html
xsltexis: $(stexi)
%.texi: %.xsl
$(JAVA) -jar "$(SAXON_CP)" \
-xsl:"$(path_tools)/xsltexi/src/xsltexi.xsl" \
"$<" > "$@"
clean-local:
-rm -f $(stexi)

1
tools/xsltexi 160000

@ -0,0 +1 @@
Subproject commit 5cded3d64bec3c0c2b42b67169aa27cf5810bc50