grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] make install on windows


From: Alexandre Bique
Subject: Re: [PATCH] make install on windows
Date: Sat, 28 Feb 2009 00:38:33 +0000

On Sat, Feb 28, 2009 at 12:32 AM, Christian Franke
<address@hidden> wrote:
>
> Alexandre Bique wrote:
>>
>>
>>>
>>> Hi,
>>>
>>> On windows with cygwin or mingw, when i do make install, it installs
>>> linux elf32 files instead of windows *.exe.
>>>
>>> Here is a patch to install the right file depending on $(EXEEXT).
>>>
>>> Thank you.
>>>
>>
>> Ooouuuppss, there is a little mistake : $(EXEXT) instead of $(EXEEXT).
>> Take the new patch.
>>
>>
>
>> --- Makefile.in    (revision 2001)
>> +++ Makefile.in    (working copy)
>> @@ -222,14 +222,14 @@
>>       $(INSTALL_DATA) $$dir$$file $(DESTDIR)$(pkgdatadir)/$$dest; \
>>     done
>>     $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
>> -   address@hidden'$(bin_UTILITIES)'; for file in $$list; do \
>> +   address@hidden'$(bin_UTILITIES:=$(EXEEXT))'; for file in $$list; do \
>>       if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \
>>       dest="`echo $$file | sed 's,.*/,,' | sed '$(transform)'`"; \
>
> This is not necessary on Cygwin. Its /usr/bin/install handles the .exe issue 
> itself, such that most existing Makefiles work OOTB.
>
> Please make sure that /usr/bin/install and no other install is found in the 
> PATH.

Ok i will check it tomorow or monday.

--
Alexandre Bique




reply via email to

[Prev in Thread] Current Thread [Next in Thread]