On Sat, Feb 28, 2009 at 12:32 AM, Christian Franke <christian.fra...@t-online.de> 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 >> - �...@list='$(bin_UTILITIES)'; for file in $$list; do \ >> + �...@list='$(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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel