dom_parser/dom_parser \
dom_parser_raw/dom_parser_raw \
dom_read_write/dom_read_write \
+ dom_update_namespace/dom_update_namespace \
+ dom_xinclude/dom_xinclude \
dom_xpath/dom_xpath \
dtdvalidation/dtdvalidation \
import_node/import_node \
textreader/textreader
# Shell scripts that call the example programs.
-check_SCRIPTS = $(addsuffix make-check-sh,$(dir $(check_PROGRAMS)))
+check_SCRIPTS = \
+ dom_build/make_check.sh \
+ dom_parse_entities/make_check.sh \
+ dom_parser/make_check.sh \
+ dom_parser_raw/make_check.sh \
+ dom_read_write/make_check.sh \
+ dom_update_namespace/make_check.sh \
+ dom_xinclude/make_check.sh \
+ dom_xpath/make_check.sh \
+ dtdvalidation/make_check.sh \
+ import_node/make_check.sh \
+ sax_exception/make_check.sh \
+ sax_parser/make_check.sh \
+ sax_parser_build_dom/make_check.sh \
+ sax_parser_entities/make_check.sh \
+ schemavalidation/make_check.sh \
+ textreader/make_check.sh
+
TESTS = $(check_SCRIPTS)
+xmlpp_test_util = testutilities.h testutilities.cc
+
dom_build_dom_build_SOURCES = \
dom_build/main.cc
dom_parse_entities_dom_parse_entities_SOURCES = \
- dom_parse_entities/main.cc
+ dom_parse_entities/main.cc $(xmlpp_test_util)
dom_parser_dom_parser_SOURCES = \
- dom_parser/main.cc
+ dom_parser/main.cc $(xmlpp_test_util)
dom_parser_raw_dom_parser_raw_SOURCES = \
dom_parser_raw/main.cc
dom_read_write_dom_read_write_SOURCES = \
dom_read_write/main.cc
+dom_update_namespace_dom_update_namespace_SOURCES = \
+ dom_update_namespace/main.cc
+dom_xinclude_dom_xinclude_SOURCES = \
+ dom_xinclude/main.cc
dom_xpath_dom_xpath_SOURCES = \
dom_xpath/main.cc
dtdvalidation_dtdvalidation_SOURCES = \
dom_read_write/README \
dom_read_write/example.xml \
dom_read_write/example.dtd \
+ dom_update_namespace/example1.xml \
+ dom_update_namespace/example2.xml \
+ dom_xinclude/example.xml \
+ dom_xinclude/include1.txt \
+ dom_xinclude/include2.xml \
dom_xpath/example.xml \
dtdvalidation/example.dtd \
import_node/example1.xml \
sax_parser_build_dom/README \
sax_parser_build_dom/example.xml \
sax_parser_entities/example.xml \
+ schemavalidation/example.rng \
schemavalidation/example.xml \
schemavalidation/example.xsd \
textreader/example.xml
# which may or may not be the same as the source directory.
# Here it's necessary to specify parameters when the input file and the output
# file are located in different directories.
-dom_read_write/make-check-sh: Makefile
+dom_read_write/make_check.sh: Makefile
echo '# Generated and used by "make check"' >$@
echo 'dom_read_write/dom_read_write "$(srcdir)/dom_read_write/example.xml" dom_read_write/example_output.xml >/dev/null' >>$@
chmod +x $@
script_template = cd "$(srcdir)/<!progname!>" && "$(abs_builddir)/<!progname!>/<!progname!>" >/dev/null
-standard_scripts = $(filter-out dom_read_write/make-check-sh,$(check_SCRIPTS))
+standard_scripts = $(filter-out dom_read_write/make_check.sh,$(check_SCRIPTS))
# All other script files are generated like so:
$(standard_scripts): Makefile
echo '# Generated and used by "make check"' >$@
- echo '$(subst <!progname!>,$(subst /make-check-sh,,$@),$(script_template))' >>$@
+ echo '$(subst <!progname!>,$(subst /make_check.sh,,$@),$(script_template))' >>$@
chmod +x $@
CLEANFILES = \