2009-07-01 Pavel Roskin <proski@gnu.org>

* Makefile.in: When installing symlinks, use "cp -fR", which
	works on FreeBSD and MacOSX.
	From Yves Blusseau <cl7m42e02@sneakemail.com>
This commit is contained in:
proski 2009-07-01 22:47:28 +00:00
parent c8d229882a
commit 6f41557fb1
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
2009-07-01 Pavel Roskin <proski@gnu.org> 2009-07-01 Pavel Roskin <proski@gnu.org>
* Makefile.in: When installing symlinks, use "cp -fR", which
works on FreeBSD and MacOSX.
From Yves Blusseau <cl7m42e02@sneakemail.com>
* kern/dl.c (grub_dl_resolve_symbol): Make static. * kern/dl.c (grub_dl_resolve_symbol): Make static.
* include/grub/dl.h: Remove grub_dl_resolve_symbol(). * include/grub/dl.h: Remove grub_dl_resolve_symbol().

View file

@ -229,7 +229,7 @@ install-local: all
$(INSTALL_DATA) $$dir$$file $(DESTDIR)$(includedir)/$$dest; \ $(INSTALL_DATA) $$dir$$file $(DESTDIR)$(includedir)/$$dest; \
elif test -L "$$dir$$file"; then \ elif test -L "$$dir$$file"; then \
rm -rf $(DESTDIR)$(includedir)/$$dest && \ rm -rf $(DESTDIR)$(includedir)/$$dest && \
cp -fP $$dir$$file $(DESTDIR)$(includedir)/$$dest; \ cp -fR $$dir$$file $(DESTDIR)$(includedir)/$$dest; \
fi; \ fi; \
done done
$(SHELL) $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) $(SHELL) $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)