[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Subversion install-swig-pt-ext broken

From: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2002-12-31 16:51:47 CET

Here's a patch to fix a regression in the install-swig-py-ext make target.

* Makefile.in: "--prefix=$(DESTDIR)" is a incorrect line in the
install-swig-py-ext statement. The correct behavior is to leave just
the $(DISTUTIL_PARAM) and run "make install-swig-py-ext
DISTUTIL_PARAM=--prefex=$(DESTDIR)" if you want the DESTDIR
functionality (which doesn't make any sense anyway from a python
perspective, the correct behaviour would be to supply the actual
installed python dir. The current behavior breaks homedir installs, RPM
building, and default installs.

Index: Makefile.in
===================================================================
--- Makefile.in (revision 4214)
+++ Makefile.in (working copy)
@@ -313,7 +313,7 @@

 install-swig-py-ext: swig-assert-available
        cd $(SWIG_BUILD_DIR)/python; \
- $(PYTHON) $(PYTHON_DISTUTIL) install $(DISTUTIL_PARAM)
--prefix=$(DESTDIR)$(prefix)
+ $(PYTHON) $(PYTHON_DISTUTIL) install $(DISTUTIL_PARAM)

 swig-py-ext-clean:
        rm -rf $(SWIG_BUILD_DIR)/python/build

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 31 16:49:03 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.