Skip to content
Snippets Groups Projects
Commit 125aa0960969 authored by David Seifert's avatar David Seifert
Browse files

python/Makefile.am: nest python docs in $(docdir)

parent 1ac2a6e6711e
No related branches found
No related tags found
No related merge requests found
EXAMPLE_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION)/examples
if WITH_PYTHON
TESTSPY = \
basic.py \
exslt.py \
extelem.py \
extfunc.py
......@@ -3,10 +2,9 @@
TESTSPY = \
basic.py \
exslt.py \
extelem.py \
extfunc.py
XMLS= \
test.xml \
test.xsl
exampledir = $(docdir)/python/examples
dist_example_DATA = test.xml test.xsl pyxsltproc.py $(TESTSPY)
......@@ -12,12 +10,4 @@
EXTRAS= \
pyxsltproc.py
EXTRA_DIST = $(TESTSPY) $(XMLS) $(EXTRAS)
CLEANFILES = *.pyc core
if WITH_PYTHON
tests: $(TESTSPY)
@(PYTHONPATH="`pwd`/..:`pwd`/../.libs:$(srcdir)/.."; \
if test "x$(LIBXML_SRC)" != "x" ; then \
......@@ -32,8 +22,4 @@
tests:
endif
install-data-local:
$(MKDIR_P) $(DESTDIR)$(EXAMPLE_DIR)
-(for test in $(TESTSPY) $(XMLS) $(EXTRAS); \
do $(INSTALL) -m 0644 $(srcdir)/$$test $(DESTDIR)$(EXAMPLE_DIR) ; done)
CLEANFILES = *.pyc core
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment