diff liboctave/Makefile.in @ 4103:677c5f3a15be

[project @ 2002-10-14 21:20:48 by jwe]
author jwe
date Mon, 14 Oct 2002 21:20:49 +0000
parents cbac6756967e
children fef735180134
line wrap: on
line diff
--- a/liboctave/Makefile.in	Mon Oct 14 20:16:45 2002 +0000
+++ b/liboctave/Makefile.in	Mon Oct 14 21:20:49 2002 +0000
@@ -264,7 +264,11 @@
 	$(top_srcdir)/mkinstalldirs $(octincludedir)/octave
 	for f in $(INCLUDES_FOR_INSTALL); do \
 	  rm -f $(octincludedir)/octave/$$f; \
-	  $(INSTALL_DATA) $(srcdir)/$$f $(octincludedir)/octave/$$f; \
+	  if [ -f $$f ]; then \
+	    $(INSTALL_DATA) $$f $(octincludedir)/octave/$$f; \
+	  else \
+	    $(INSTALL_DATA) $(srcdir)/$$f $(octincludedir)/octave/$$f; \
+	  fi ; \
 	done
 .PHONY: install-inc