This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

gcc/Makefile.in patch



This allows the install to proceed if you do not have texinfo installed.
(If cpp.info* does not exist, the for loop passes "cpp.info*" as the
filename to install.)

Regards,
Andrew Dalgleish


--- gcc/Makefile.in.orig	Tue Oct 20 17:20:35 1998
+++ gcc/Makefile.in	Fri Mar 05 10:37:07 1999
@@ -2422,7 +2422,9 @@
 install-info: doc installdirs lang.install-info
 	-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
 	for f in cpp.info* gcc.info*; do \
+	    if [ -f $$f ] ; then \
 	    $(INSTALL_DATA) $$f $(infodir)/$$f; \
+	    fi \
 	done
 	-if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
 	  if [ -f $(infodir)/dir ] ; then \