Honor DESTDIR in w32api and mingw

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sat Oct 24 16:09:00 GMT 2009

On Sat, Oct 24, 2009 at 11:40:06AM -0400, Charles Wilson wrote:
>Christopher Faylor wrote:
>> I just waded through this thread and I'm confused about why it is being
>> actively discussed here since it's obviously a purely mingw issue.
>Because it affects the cygwin build process, and my motivation was to
>support DESTDIR which really only helps *cygwin*.  I'm basically asking
>the mingw guys for a favor -- but wanted to keep the cygwin community in
>the loop, since it's a favor for *us*.

It actually affects the cygwin install process.  Since these directories
don't need to be installed for a standard cygwin release, it seems like
the best solution would be to just avoid installing the directories
entirely.  This could be done in Makefile.in.  Just don't install the
directories if the target is *-cygwin.

Another way to deal with this is to create an install wrapper script for
installing files and make it windows-aware.

Anyway, I have previously suggested that similar changes go straight to
the mingw developers so I think I'm being consistent here.  Since we
can't approve the changes, the discussion devolves to speculation about
what will be accepted which might as well be discussed with the people
who can approve.

>BTW, welcome back.

Thanks.  I tried to resist reading any email until Monday but obviously
I've failed.  So, my happy Italy buzz is rapidly fading...


More information about the Cygwin-patches mailing list