GNU autotools, including doc build
parent
0ddd0cd32a
commit
587d22e2b2
|
@ -1,3 +1,18 @@
|
|||
/test/index.html
|
||||
/test/**/xspec/
|
||||
*.apply
|
||||
*.info
|
||||
|
||||
# autotools- and configure-generated
|
||||
Makefile.in
|
||||
Makefile
|
||||
/aclocal.m4
|
||||
/*.cache/
|
||||
/configure
|
||||
/config.*
|
||||
|
||||
# should be added using autoreconf -i
|
||||
/tools/install-sh
|
||||
/tools/missing
|
||||
/tools/mdate-sh
|
||||
/tools/texinfo.tex
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
## hoxsl Makefile
|
||||
#
|
||||
# Copyright (C) 2014 LoVullo Associates, Inc.
|
||||
#
|
||||
# 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/>.
|
||||
##
|
||||
|
||||
SUBDIRS = doc
|
||||
|
||||
path_src := src
|
||||
path_test := test
|
||||
|
||||
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
|
||||
|
||||
test: check
|
||||
check: $(test_apply)
|
||||
$(path_test)/runner
|
||||
|
||||
%.apply: %
|
||||
$(JAVA) -jar "$(SAXON_CP)" \
|
||||
-xsl:"$(path_src)/transform/apply-gen.xsl" \
|
||||
"$<" > "$@"
|
||||
|
||||
clean:
|
||||
$(RM) "$(test_in_apply_gen)"
|
|
@ -0,0 +1,28 @@
|
|||
# For use by automake and autoconf
|
||||
#
|
||||
# Copyright (C) 2014 LoVullo Associates, Inc.
|
||||
#
|
||||
# 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/>.
|
||||
##
|
||||
|
||||
AC_INIT([hoxsl], [0.0.1-alpha], [dev@lovullo.com])
|
||||
AC_CONFIG_AUX_DIR([tools])
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
|
||||
AC_ARG_VAR([JAVA], [The Java executable])
|
||||
AC_CHECK_PROGS(JAVA, [java])
|
||||
|
||||
AC_CONFIG_FILES([Makefile doc/Makefile])
|
||||
|
||||
AC_OUTPUT
|
Loading…
Reference in New Issue