1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-12 01:41:46 +03:00

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
This commit is contained in:
Daniel Veillard
2002-11-15 11:37:04 +00:00
parent e4f67df60a
commit 0eeb098cf1
3 changed files with 9 additions and 4 deletions

View 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

View 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