summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-05-15 20:28:53 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-05-15 20:28:53 +0000
commitada71b3bb5b5e39f8cbe50f64d3b12c7b945f58e (patch)
tree3b71c0af3f4b4218ca3299ca7f6cebc55aa10f0f /python
parentc589bdcf678e0cf7cd38bc88f742dfa8122aea71 (diff)
downloadlibxslt-ada71b3bb5b5e39f8cbe50f64d3b12c7b945f58e.tar.gz
libxslt-ada71b3bb5b5e39f8cbe50f64d3b12c7b945f58e.tar.bz2
libxslt-ada71b3bb5b5e39f8cbe50f64d3b12c7b945f58e.zip
fixing portability bug #113002 on HP-UX cleanup of --with-python like for
* xsltproc/xsltproc.c: fixing portability bug #113002 on HP-UX * configure.in libxslt.spec.in python/Makefile.am: cleanup of --with-python like for libxml2 Daniel
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 4e785ef6..597984d1 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -33,7 +33,6 @@ mylibs = \
all-local: libxslt.py
-pythondir = $(libdir)/python${PYTHON_VERSION}/site-packages
python_LTLIBRARIES = libxsltmod.la
libxsltmod_la_SOURCES = libxslt.c types.c libxslt-py.c
@@ -43,8 +42,8 @@ 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
- @INSTALL@ -m 0644 libxslt.py $(DESTDIR)$(libdir)/python${PYTHON_VERSION}/site-packages
+ $(mkinstalldirs) $(DESTDIR)$(pythondir)
+ @INSTALL@ -m 0644 libxslt.py $(DESTDIR)$(pythondir)
$(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
@(for doc in $(DOCS) ; \
do @INSTALL@ -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)