]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-08-21 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Fri, 21 Aug 2009 21:42:58 +0000 (21:42 +0000)
committerproski <proski@localhost>
Fri, 21 Aug 2009 21:42:58 +0000 (21:42 +0000)
* Makefile.in (install-local): When checking if a file is in the
build directory, use "test -e" to detect symlinks.

ChangeLog
Makefile.in

index bcb72015131dc68561cf5a8bd7b38204c4085431..e245d2da8171a402eeda574978f27f955c434e5a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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
        $(DESTDIR)$(pkglibdir) before installing new files there.
 
index 3d97c3985a792935396145d3ea5852c7a76f5073..8e2cdc6c44352de96252d9be034f2b0a3d03b8be 100644 (file)
@@ -222,7 +222,7 @@ install-local: all
        $(SHELL) $(mkinstalldirs) $(DESTDIR)$(includedir)
        @list='$(include_DATA)'; \
        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/,,'`"; \
          destdir="`echo $$dest | sed 's,[^/]*$$,,g'`"; \
          $(SHELL) $(mkinstalldirs) $(DESTDIR)$(includedir)/$$destdir; \