[2510] 2009-08-21 Pavel Roskin <[email protected]>

Pavel Roskin <[email protected]> Fri, 21 Aug 2009 21:42:58 +0000
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2510
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2510
Author:   proski
Date:     2009-08-21 21:42:58 +0000 (Fri, 21 Aug 2009)
Log Message:
-----------
2009-08-21  Pavel Roskin  <[email protected]>

	* Makefile.in (install-local): When checking if a file is in the
	build directory, use "test -e" to detect symlinks.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/Makefile.in

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-08-21 21:40:58 UTC (rev 2509)
+++ trunk/grub2/ChangeLog	2009-08-21 21:42:58 UTC (rev 2510)
@@ -1,5 +1,8 @@
 2009-08-21  Pavel Roskin  <[email protected]>
 
+	* 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.
 

Modified: trunk/grub2/Makefile.in
===================================================================
--- trunk/grub2/Makefile.in	2009-08-21 21:40:58 UTC (rev 2509)
+++ trunk/grub2/Makefile.in	2009-08-21 21:42:58 UTC (rev 2510)
@@ -222,7 +222,7 @@
 	$(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; \