From: Daniel Veillard Date: Fri, 15 Nov 2002 11:37:04 +0000 (+0000) Subject: trying to fix #98518 when building outside of the source tree Daniel X-Git-Tag: v1.1.28~808 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0eeb098cf146b288c8cadfbad6698b6446edbe5b;p=platform%2Fupstream%2Flibxslt.git trying to fix #98518 when building outside of the source tree Daniel * python/Makefile.am python/tests/Makefile.am: trying to fix #98518 when building outside of the source tree Daniel --- diff --git a/ChangeLog b/ChangeLog index 6803ef1..9b41e5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Nov 15 12:35:57 CET 2002 Daniel Veillard + + * 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 * python/generator.py: xpathObjectRet() pertains to the libxml2 diff --git a/python/Makefile.am b/python/Makefile.am index b84a7ac..3800772 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -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 diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am index ea47a86..0e6cf72 100644 --- a/python/tests/Makefile.am +++ b/python/tests/Makefile.am @@ -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