This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Honor DESTDIR in w32api and mingw


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]