trying to fix #98518 when building outside of the source tree Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Fri, 15 Nov 2002 11:37:04 +0000 (11:37 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Fri, 15 Nov 2002 11:37:04 +0000 (11:37 +0000)
* python/Makefile.am python/tests/Makefile.am: trying to fix #98518
  when building outside of the source tree
Daniel

ChangeLog
python/Makefile.am
python/tests/Makefile.am

index 6803ef1..9b41e5e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Nov 15 12:35:57 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+       * python/Makefile.am python/tests/Makefile.am: trying to fix #98518
+         when building outside of the source tree
+
 Thu Nov 14 21:39:37 CET 2002 Daniel Veillard <daniel@veillard.com>
 
        * python/generator.py: xpathObjectRet() pertains to the libxml2
index b84a7ac..3800772 100644 (file)
@@ -38,8 +38,8 @@ python_LTLIBRARIES = libxsltmod.la
 libxsltmod_la_SOURCES = libxslt.c types.c libxslt-py.c
 libxsltmod_la_LIBADD = $(mylibs) 
 
-libxslt.py: $(srcdir)/libxsl.py libxsltclass.py
-       cat $(srcdir)/libxsl.py libxsltclass.py > libxslt.py
+libxslt.py: $(srcdir)/libxsl.py $(srcdir)/libxsltclass.py
+       cat $(srcdir)/libxsl.py $(srcdir)/libxsltclass.py > libxslt.py
 
 install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(libdir)/python${PYTHON_VERSION}/site-packages
index ea47a86..0e6cf72 100644 (file)
@@ -15,8 +15,8 @@ EXTRA_DIST = $(TESTSPY) $(XMLS) $(EXTRAS)
 
 if WITH_PYTHON
 tests: $(TESTSPY)
-       -@(PYTHONPATH="..:../.libs" ; export PYTHONPATH; \
-          for test in $(TESTSPY) ; do echo "-- $$test" ; $(PYTHON) $$test ; done)
+       -@(PYTHONPATH="..:../.libs:$(srcdir)/.." ; export PYTHONPATH; \
+          for test in $(TESTSPY) ; do echo "-- $$test" ; $(PYTHON) $(srcdir)/$$test ; done)
 else
 tests:
 endif