"Craig Peterein" <craig@peterein.org> writes:
> Pretty self-explainatory.
Isn't $(prefix) typically an absolute path like "/usr" or "/usr/local"?
And actually, isn't $(prefix) just plain wrong in this instance? I
mean, $(prefix) is the install location for Subversion itself, which
might be completely different than where I want my Python modules
dumped.
What's the difference between DESTDIR and prefix? Perhaps we need
only DESTDIR (and lose the prefix) here?
> * 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 19:48:09 2002