applied fixes to allow build from 'outside' directory (Bug 129172)

* python/Makefile.am, python/tests/Makefile.am,
  doc/Makefile.am: applied fixes to allow build from
  'outside' directory (Bug 129172)
diff --git a/ChangeLog b/ChangeLog
index ef5e68b..1072b12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Dec 21 18:14:04 HKT 2003 William Brack <wbrack@mmm.com.hk>
+
+	* python/Makefile.am, python/tests/Makefile.am,
+	  doc/Makefile.am: applied fixes to allow build from
+	  'outside' directory (Bug 129172)
+
 Sat Dec 20 16:42:07 MST 2003 John Fleck <jfleck@inkstain.net>
 
 	* tree.c - add explanation of namespace inheritance when
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 0fd48b9..09a6115 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -109,6 +109,5 @@
 	$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)/tutorial/images/callouts
 	-@INSTALL@ -m 0644 $(srcdir)/tutorial/images/callouts/*.* \
 		$(DESTDIR)$(TARGET_DIR)/tutorial/images/callouts
-	-(cd $(DESTDIR); gtkdoc-fixxref --module=libxml --html-dir=$(HTML_DIR))
 
 .PHONY : html xml templates scan
diff --git a/python/Makefile.am b/python/Makefile.am
index d1e0808..8782efb 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -9,7 +9,7 @@
 
 DOCS_DIR = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
 # libxml2class.txt is generated
-DOCS = TODO
+DOCS = ${srcdir}/TODO
 
 EXTRA_DIST = 			\
 	libxml.c		\
@@ -42,7 +42,7 @@
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(pythondir)
 	@INSTALL@ -m 0644 libxml2.py $(DESTDIR)$(pythondir)
-	@INSTALL@ -m 0644 drv_libxml2.py $(DESTDIR)$(pythondir)
+	@INSTALL@ -m 0644 $(srcdir)/drv_libxml2.py $(DESTDIR)$(pythondir)
 	$(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
 	@(for doc in $(DOCS) ; \
 	   do @INSTALL@ -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
index 3d5989d..fd704fd 100644
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -54,5 +54,5 @@
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(EXAMPLE_DIR)
 	-(for test in $(PYTESTS) $(XMLS); \
-	  do @INSTALL@ -m 0644 $$test $(DESTDIR)$(EXAMPLE_DIR) ; done)
+	  do @INSTALL@ -m 0644 $(srcdir)/$$test $(DESTDIR)$(EXAMPLE_DIR) ; done)