applied patch from Christophe Merlet to reestablish DESTDIR Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Thu, 5 Sep 2002 08:08:39 +0000 (08:08 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Thu, 5 Sep 2002 08:08:39 +0000 (08:08 +0000)
* python/Makefile.am: applied patch from Christophe Merlet to
  reestablish DESTDIR
Daniel

ChangeLog
python/Makefile.am

index 27ac5a7..aa25886 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Sep  5 10:07:13 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+       * python/Makefile.am: applied patch from Christophe Merlet to
+         reestablish DESTDIR
+
 Thu Aug 29 21:26:30 CEST 2002 Daniel Veillard <daniel@veillard.com>
 
        * libxslt/transform.c: re-applied the patch from Nathan Myers about
index 9476944..b84a7ac 100644 (file)
@@ -42,11 +42,11 @@ libxslt.py: $(srcdir)/libxsl.py libxsltclass.py
        cat $(srcdir)/libxsl.py libxsltclass.py > libxslt.py
 
 install-data-local:
-       $(mkinstalldirs) $(libdir)/python${PYTHON_VERSION}/site-packages
-       @INSTALL@ -m 0644 libxslt.py $(libdir)/python${PYTHON_VERSION}/site-packages
-       $(mkinstalldirs) $(DOCS_DIR)
+       $(mkinstalldirs) $(DESTDIR)$(libdir)/python${PYTHON_VERSION}/site-packages
+       @INSTALL@ -m 0644 libxslt.py $(DESTDIR)$(libdir)/python${PYTHON_VERSION}/site-packages
+       $(mkinstalldirs) $(DESTDIR)$(DOCS_DIR)
        @(for doc in $(DOCS) ; \
-          do @INSTALL@ -m 0644 $$doc $(DOCS_DIR) ; done)
+          do @INSTALL@ -m 0644 $$doc $(DESTDIR)$(DOCS_DIR) ; done)
 
 GENERATE = generator.py
 API_DESC = $(top_srcdir)/doc/libxslt-api.xml $(srcdir)/libxslt-python-api.xml