diff --git a/python/Makefile.am b/python/Makefile.am index 3bb34c52..2e3bfbf2 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -2,7 +2,7 @@ SUBDIRS = . tests -docsdir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION) +docsdir = $(docdir)/python dist_docs_DATA = TODO EXTRA_DIST = \ diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am index 227e24df..d3c9d3d6 100644 --- a/python/tests/Makefile.am +++ b/python/tests/Makefile.am @@ -1,4 +1,4 @@ -exampledir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples +exampledir = $(docdir)/python/examples dist_example_DATA = $(PYTESTS) $(XMLS) PYTESTS= \