This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: Honor DESTDIR in w32api and mingw
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 15 Oct 2009 18:40:39 -0600
- Subject: Re: Honor DESTDIR in w32api and mingw
- References: <4AD78C5B.2080107@cwilson.fastmail.fm>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Charles Wilson on 10/15/2009 2:55 PM:
> Honor DESTDIR for winsup/mingw and winsup/w32api.
> * winsup/mingw/Makefile.in: Honor DESTDIR and add to
> FLAGS_TO_PASS.
> +++ winsup/mingw/Makefile.in 15 Oct 2009 20:30:09 -0000
> @@ -26,6 +26,8 @@ srcdir = @srcdir@
> top_srcdir = @top_srcdir@
> top_builddir = @top_builddir@
>
> +DESTDIR =
> +
Why are you setting DESTDIR? My understanding is that for DESTDIR to work
reliably, you need to use $(DESTDIR), but not set it. Then make will
default it to empty, which can be changed by either 'make DESTDIR=...' or
'env DESTDIR=... make -e'.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkrXwQcACgkQ84KuGfSFAYCbJwCfSi45P5XzLRsybfwMt9MtaFxD
CQMAnA9pZHooPM2KttgO5hvxH63cY7oe
=OfZx
-----END PGP SIGNATURE-----