2002-03-27 09:05:40 +00:00
|
|
|
EXAMPLE_DIR = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples
|
2002-02-02 09:17:16 +00:00
|
|
|
|
2002-02-07 16:39:11 +00:00
|
|
|
PYTESTS= \
|
2002-02-04 00:17:01 +00:00
|
|
|
build.py \
|
2002-03-07 22:21:56 +00:00
|
|
|
attribs.py \
|
2002-02-02 09:17:16 +00:00
|
|
|
tst.py \
|
|
|
|
tstxpath.py \
|
|
|
|
xpathext.py \
|
2002-02-03 15:08:05 +00:00
|
|
|
push.py \
|
2002-02-04 14:07:26 +00:00
|
|
|
pushSAX.py \
|
2002-05-13 10:33:30 +00:00
|
|
|
pushSAXhtml.py \
|
2002-02-02 21:49:17 +00:00
|
|
|
error.py \
|
2002-03-06 21:39:42 +00:00
|
|
|
serialize.py\
|
2002-02-03 16:53:19 +00:00
|
|
|
validate.py \
|
2002-02-23 10:10:33 +00:00
|
|
|
tstURI.py \
|
2002-03-07 00:05:35 +00:00
|
|
|
cutnpaste.py\
|
2002-03-01 16:14:17 +00:00
|
|
|
xpathret.py \
|
2002-09-12 15:00:57 +00:00
|
|
|
xpath.py \
|
|
|
|
outbuf.py \
|
|
|
|
inbuf.py \
|
2002-09-25 22:25:35 +00:00
|
|
|
resolver.py \
|
2002-12-14 23:00:35 +00:00
|
|
|
regexp.py \
|
2002-12-27 19:37:04 +00:00
|
|
|
reader.py \
|
2002-12-28 22:56:33 +00:00
|
|
|
reader2.py \
|
2003-01-14 11:42:39 +00:00
|
|
|
reader3.py \
|
2003-04-17 12:55:35 +00:00
|
|
|
reader4.py \
|
|
|
|
reader5.py \
|
|
|
|
reader6.py \
|
2003-01-16 22:45:08 +00:00
|
|
|
ctxterror.py\
|
2003-02-09 23:33:36 +00:00
|
|
|
readererr.py\
|
2003-05-15 22:11:36 +00:00
|
|
|
relaxng.py \
|
|
|
|
thread2.py
|
2002-02-02 09:17:16 +00:00
|
|
|
|
|
|
|
XMLS= \
|
2002-02-03 16:53:19 +00:00
|
|
|
tst.xml \
|
|
|
|
valid.xml \
|
|
|
|
invalid.xml
|
2002-02-02 09:17:16 +00:00
|
|
|
|
2002-02-07 16:40:20 +00:00
|
|
|
EXTRA_DIST = $(PYTESTS) $(XMLS)
|
2002-02-02 09:17:16 +00:00
|
|
|
|
|
|
|
if WITH_PYTHON
|
2002-02-07 16:40:20 +00:00
|
|
|
tests: $(PYTESTS)
|
2002-11-15 11:21:43 +00:00
|
|
|
-@(PYTHONPATH="..:../.libs:$(srcdir)/.." ; export PYTHONPATH; \
|
|
|
|
for test in $(PYTESTS) ; do echo "-- $$test" ; $(PYTHON) $(srcdir)/$$test ; done)
|
2002-02-02 09:17:16 +00:00
|
|
|
else
|
|
|
|
tests:
|
|
|
|
endif
|
|
|
|
|
2002-02-03 15:08:05 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.pyc core
|
|
|
|
|
2002-02-02 09:17:16 +00:00
|
|
|
install-data-local:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(EXAMPLE_DIR)
|
2002-02-07 16:40:20 +00:00
|
|
|
-(for test in $(PYTESTS) $(XMLS); \
|
2002-02-02 09:17:16 +00:00
|
|
|
do @INSTALL@ -m 0644 $$test $(DESTDIR)$(EXAMPLE_DIR) ; done)
|
|
|
|
|