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

[PATCH] DESTDIR support for python swig targets

From: Craig Peterein <craig_at_peterein.org>
Date: 2002-10-31 02:59:11 CET

Pretty self-explainatory.

Craig

* Makefile.in
  (swig-py-ext): Support DESTDIR for compiling.
  (install-swig-py-ext): Support DESTDIR for installation.

Index: Makefile.in
===================================================================
--- Makefile.in (revision 3584)
+++ Makefile.in (working copy)
@@ -264,14 +264,14 @@
             -I$(SWIG_SRC_DIR) \
             -I$(abs_srcdir)/subversion/include $(SVN_APR_INCLUDES) \
             -S$(SWIG_SRC_DIR) \
- -L$(prefix)/lib -L$(SVN_APR_PREFIX)/lib \
+ -L$(DESTDIR)$(prefix)/lib -L$(SVN_APR_PREFIX)/lib \
             build --build-base=$(SWIG_BUILD_DIR)/python/build)
 
 install-swig-py-ext:
         (cd $(SWIG_BUILD_DIR)/python; \
          $(PYTHON) $(SWIG_SRC_DIR)/python/setup.py \
             -S$(SWIG_SRC_DIR) \
- install --prefix $(prefix))
+ install --prefix $(DESTDIR)$(prefix))
 
 ### Build a tarball.
 dist:

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 31 02:59:59 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.