mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2025-02-13 22:42:10 +00:00
![Daniel Veillard](/assets/img/avatar_default.png)
* build_glob.py global.data globals.c parser.c include/libxml/globals.h: patch from Stéphane Bidoul for setting up threads global defaults. * doc/libxml2-api.xml: this extends the API with new functions * python/tests/Makefile.am python/tests/reader2.py python/tests/thread2.py: integrated the associated testcase and fixed the error string used in reader2 Daniel
57 lines
1.0 KiB
Makefile
57 lines
1.0 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 \
|
|
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)
|
|
|