mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00

* Makefile.am configure.in xmldwalk.c xmlreader.c include/libxml/Makefile.am include/libxml/xmldwalk.h include/libxml/xmlversion.h.in: removing xmldwalk module since it got merged with the xmlreader. * parser.c: cleanup * win32/libxml2.def.src python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API * python/tests/Makefile.am python/tests/reader7.py python/tests/walker.py: adding regression testing for the new xmlreader APIs, new APIs for reader creation, including makeing reader "walker" operating on preparsed document trees. Daniel
59 lines
1.1 KiB
Makefile
59 lines
1.1 KiB
Makefile
EXAMPLE_DIR = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples
|
|
|
|
PYTESTS= \
|
|
build.py \
|
|
attribs.py \
|
|
tst.py \
|
|
tstxpath.py \
|
|
xpathext.py \
|
|
push.py \
|
|
pushSAX.py \
|
|
pushSAXhtml.py \
|
|
error.py \
|
|
serialize.py\
|
|
validate.py \
|
|
tstURI.py \
|
|
cutnpaste.py\
|
|
xpathret.py \
|
|
xpath.py \
|
|
outbuf.py \
|
|
inbuf.py \
|
|
resolver.py \
|
|
regexp.py \
|
|
reader.py \
|
|
reader2.py \
|
|
reader3.py \
|
|
reader4.py \
|
|
reader5.py \
|
|
reader6.py \
|
|
reader7.py \
|
|
walker.py \
|
|
ctxterror.py\
|
|
readererr.py\
|
|
relaxng.py \
|
|
thread2.py
|
|
|
|
XMLS= \
|
|
tst.xml \
|
|
valid.xml \
|
|
invalid.xml
|
|
|
|
EXTRA_DIST = $(PYTESTS) $(XMLS)
|
|
|
|
if WITH_PYTHON
|
|
tests: $(PYTESTS)
|
|
-@(PYTHONPATH="..:../.libs:$(srcdir)/.." ; export PYTHONPATH; \
|
|
for test in $(PYTESTS) ; do echo "-- $$test" ; $(PYTHON) $(srcdir)/$$test ; done)
|
|
else
|
|
tests:
|
|
endif
|
|
|
|
clean:
|
|
rm -f *.pyc core
|
|
|
|
install-data-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(EXAMPLE_DIR)
|
|
-(for test in $(PYTESTS) $(XMLS); \
|
|
do @INSTALL@ -m 0644 $$test $(DESTDIR)$(EXAMPLE_DIR) ; done)
|
|
|