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

[PATCH] Add support for make install DESTDIR=

From: Jon Middleton <jjm_at_ixtab.org.uk>
Date: 2002-07-30 01:11:24 CEST

On Mon, Jul 29, 2002 at 09:13:43PM +0100, Jon Middleton wrote:
> Hello,
> Over the weekend I created an updated Debian package of subversion and
> came across some problems with getting the build system to install
> into the temporary area that is used to create the package.
> It would help anyone that creating a package if it was possible to
> invoke make install as
> make install DESTDIR=debian/tmp

The attched patch adds support for installing subversion into a
different directory by adding DESTDIR to make install. Most of the
patch is just adding $(DESTDIR) into the install paths.

The largest change is to how axsp2 is called, I've added -S
LIBEXECDIR=$(DESTDIR)$(APACHE_LIBEXECDIR) to install-mods-shared: and
removed -a so that it doesn't try to modify httpd.conf, which is
not in the modified path.

I'm currently thinking that the changes to axsp2 should be done as an
option to configure (--enable-package-mode or --disable-mod-activate ?)
to allow packagers to disable this activation.

I'll have a look at doing this change tomorrow night if people think
it's a worthy addition.

"First things first -- but not necessarily in that order"
                -- The Doctor, "Doctor Who"		

  • application/pgp-signature attachment: stored
Received on Tue Jul 30 01:11: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.