Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 781ac8b19b
Fetching contributors…

Cannot retrieve contributors at this time

file 55 lines (49 sloc) 1.052 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
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)
Something went wrong with that request. Please try again.