xsltexi Texinfo file generation
parent
d3315bce91
commit
ae82e28cd3
|
@ -1,5 +1,6 @@
|
||||||
/test/index.html
|
/test/index.html
|
||||||
/test/**/xspec/
|
/test/**/xspec/
|
||||||
|
/src/**/*.texi
|
||||||
*.apply
|
*.apply
|
||||||
*.info
|
*.info
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
[submodule "tools/xspec"]
|
[submodule "tools/xspec"]
|
||||||
path = tools/xspec
|
path = tools/xspec
|
||||||
url = https://github.com/lovullo/xspec
|
url = https://github.com/lovullo/xspec
|
||||||
|
[submodule "tools/xsltexi"]
|
||||||
|
path = tools/xsltexi
|
||||||
|
url = https://github.com/lovullo/xsltexi
|
||||||
|
|
|
@ -25,7 +25,7 @@ test_apply := $(path_test)/apply/partial-test.xsl.apply \
|
||||||
$(path_test)/apply/thrush-test.xsl.apply \
|
$(path_test)/apply/thrush-test.xsl.apply \
|
||||||
$(path_test)/transform/apply-gen-test-in.xsl.apply
|
$(path_test)/transform/apply-gen-test-in.xsl.apply
|
||||||
|
|
||||||
.PHONY: check test
|
.PHONY: check test texis
|
||||||
|
|
||||||
test: check
|
test: check
|
||||||
check: $(test_apply)
|
check: $(test_apply)
|
||||||
|
@ -35,6 +35,3 @@ check: $(test_apply)
|
||||||
$(JAVA) -jar "$(SAXON_CP)" \
|
$(JAVA) -jar "$(SAXON_CP)" \
|
||||||
-xsl:"$(path_src)/transform/apply-gen.xsl" \
|
-xsl:"$(path_src)/transform/apply-gen.xsl" \
|
||||||
"$<" > "$@"
|
"$<" > "$@"
|
||||||
|
|
||||||
clean:
|
|
||||||
$(RM) "$(test_in_apply_gen)"
|
|
||||||
|
|
|
@ -18,7 +18,22 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# 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
|
info_TEXINFOS = hoxsl.texi
|
||||||
hoxsl_TEXINFOS = license.texi
|
hoxsl_TEXINFOS = license.texi $(stexi)
|
||||||
|
|
||||||
MAKEINFOHTML=$(MAKEINFO) --html
|
MAKEINFOHTML=$(MAKEINFO) --html
|
||||||
|
|
||||||
|
xsltexis: $(stexi)
|
||||||
|
%.texi: %.xsl
|
||||||
|
$(JAVA) -jar "$(SAXON_CP)" \
|
||||||
|
-xsl:"$(path_tools)/xsltexi/src/xsltexi.xsl" \
|
||||||
|
"$<" > "$@"
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
-rm -f $(stexi)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 5cded3d64bec3c0c2b42b67169aa27cf5810bc50
|
Loading…
Reference in New Issue