[libxslt] python/Makefile.am: nest python docs in $(docdir)
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] python/Makefile.am: nest python docs in $(docdir)
- Date: Sat, 2 Apr 2022 13:03:17 +0000 (UTC)
commit b06c0ba5ba31fd7ba6e3a5270fa61f7770c85174
Author: David Seifert <soap gentoo org>
Date: Sat Apr 2 14:30:15 2022 +0200
python/Makefile.am: nest python docs in $(docdir)
python/tests/Makefile.am | 24 +++++-------------------
1 file changed, 5 insertions(+), 19 deletions(-)
---
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
index cb186745..c633ce66 100644
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -1,23 +1,13 @@
-EXAMPLE_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION)/examples
-
-TESTSPY= \
+if WITH_PYTHON
+TESTSPY = \
basic.py \
exslt.py \
extelem.py \
extfunc.py
-XMLS= \
- test.xml \
- test.xsl
-
-EXTRAS= \
- pyxsltproc.py
+exampledir = $(docdir)/python/examples
+dist_example_DATA = test.xml test.xsl pyxsltproc.py $(TESTSPY)
-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 @@ else
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]