[xml] DESTDIR und python subdir



There is a small glitch with DESTDIR usage in the python subdir:

2002-08-26  Karl Eichwalder  <ke suse de>

        * python/Makefile.am (install-data-local): Make use of
        $(pythondir) and use $(DESTDIR).

--- libxml2-2.4.24/python/Makefile.am.~1~       Fri Aug 23 04:35:33 2002
+++ libxml2-2.4.24/python/Makefile.am   Mon Aug 26 15:39:42 2002
@@ -40,11 +40,11 @@
        cat $(srcdir)/libxml.py libxml2class.py > libxml2.py
 
 install-data-local:
-       $(mkinstalldirs) $(libdir)/python${PYTHON_VERSION}/site-packages
-       @INSTALL@ -m 0644 libxml2.py $(libdir)/python${PYTHON_VERSION}/site-packages
-       $(mkinstalldirs) $(DOCS_DIR)
+       $(mkinstalldirs) $(DESTDIR)/$(pythondir)
+       @INSTALL@ -m 0644 libxml2.py $(DESTDIR)/$(pythondir)
+       $(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/libxml2-api.xml $(srcdir)/libxml2-python-api.xml

Diff finished at Mon Aug 26 15:39:46


-- 
Linux frechet 2.4.18-4GB #1 Fri Apr 5 15:14:39 UTC 2002 i686 unknown
  3:58pm  up 140 days,  1:24, 11 users,  load average: 0.16, 0.19, 0.26
                                             work    :      ke suse de
Karl Eichwalder                              home    : keichwa gmx net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]