mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-25 22:15:42 +00:00
2009-08-21 Pavel Roskin <proski@gnu.org>
* Makefile.in (install-local): When checking if a file is in the build directory, use "test -e" to detect symlinks.
This commit is contained in:
parent
7a9094e5bc
commit
5496c37ebe
@ -1,5 +1,8 @@
|
|||||||
2009-08-21 Pavel Roskin <proski@gnu.org>
|
2009-08-21 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* Makefile.in (install-local): When checking if a file is in the
|
||||||
|
build directory, use "test -e" to detect symlinks.
|
||||||
|
|
||||||
* Makefile.in (install-local): Remove all files in
|
* Makefile.in (install-local): Remove all files in
|
||||||
$(DESTDIR)$(pkglibdir) before installing new files there.
|
$(DESTDIR)$(pkglibdir) before installing new files there.
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ install-local: all
|
|||||||
$(SHELL) $(mkinstalldirs) $(DESTDIR)$(includedir)
|
$(SHELL) $(mkinstalldirs) $(DESTDIR)$(includedir)
|
||||||
@list='$(include_DATA)'; \
|
@list='$(include_DATA)'; \
|
||||||
for file in $$list; do \
|
for file in $$list; do \
|
||||||
if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \
|
if test -e "$$file"; then dir=; else dir="$(srcdir)/"; fi; \
|
||||||
dest="`echo $$file | sed 's,include/,,'`"; \
|
dest="`echo $$file | sed 's,include/,,'`"; \
|
||||||
destdir="`echo $$dest | sed 's,[^/]*$$,,g'`"; \
|
destdir="`echo $$dest | sed 's,[^/]*$$,,g'`"; \
|
||||||
$(SHELL) $(mkinstalldirs) $(DESTDIR)$(includedir)/$$destdir; \
|
$(SHELL) $(mkinstalldirs) $(DESTDIR)$(includedir)/$$destdir; \
|
||||||
|
Loading…
Reference in New Issue
Block a user