mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +03:00
python/Makefile.am: nest python docs in $(docdir)
This commit is contained in:
@ -1,23 +1,13 @@
|
|||||||
EXAMPLE_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION)/examples
|
if WITH_PYTHON
|
||||||
|
TESTSPY = \
|
||||||
TESTSPY= \
|
|
||||||
basic.py \
|
basic.py \
|
||||||
exslt.py \
|
exslt.py \
|
||||||
extelem.py \
|
extelem.py \
|
||||||
extfunc.py
|
extfunc.py
|
||||||
|
|
||||||
XMLS= \
|
exampledir = $(docdir)/python/examples
|
||||||
test.xml \
|
dist_example_DATA = test.xml test.xsl pyxsltproc.py $(TESTSPY)
|
||||||
test.xsl
|
|
||||||
|
|
||||||
EXTRAS= \
|
|
||||||
pyxsltproc.py
|
|
||||||
|
|
||||||
EXTRA_DIST = $(TESTSPY) $(XMLS) $(EXTRAS)
|
|
||||||
|
|
||||||
CLEANFILES = *.pyc core
|
|
||||||
|
|
||||||
if WITH_PYTHON
|
|
||||||
tests: $(TESTSPY)
|
tests: $(TESTSPY)
|
||||||
@(PYTHONPATH="`pwd`/..:`pwd`/../.libs:$(srcdir)/.."; \
|
@(PYTHONPATH="`pwd`/..:`pwd`/../.libs:$(srcdir)/.."; \
|
||||||
if test "x$(LIBXML_SRC)" != "x" ; then \
|
if test "x$(LIBXML_SRC)" != "x" ; then \
|
||||||
@ -32,8 +22,4 @@ else
|
|||||||
tests:
|
tests:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install-data-local:
|
CLEANFILES = *.pyc core
|
||||||
$(MKDIR_P) $(DESTDIR)$(EXAMPLE_DIR)
|
|
||||||
-(for test in $(TESTSPY) $(XMLS) $(EXTRAS); \
|
|
||||||
do $(INSTALL) -m 0644 $(srcdir)/$$test $(DESTDIR)$(EXAMPLE_DIR) ; done)
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user