Minor simplification for gcc/Makefile.in

Jeffrey A Law law@cygnus.com
Wed Jul 1 22:56:00 GMT 1998


  In message < rzqk95xh5pu.fsf@djlvig.dl.ac.uk >you write:
  > >>>>> "Jeff" == Jeffrey A Law <law@hurl.cygnus.com> writes:
  > 
  >  Jeff> I leave this in Dave's hands. :-)
  > 
  > A `courageous' decision!
  > 
  > It looks sensible to me and I was probably confused.  However, why is
  > the sedantry necessary in the previous loop, doing the INSTALL_DATA?
  > Isn't it actually redundant in both places below rather than just the
  > lower one?
  > 
  > 	for f in cpp.info* gcc.info*; do \
  > 	    realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
  > 	    $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
  > 	done
  > 	if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
  > 	    for f in cpp.info gcc.info; do \
  > 		realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
  > 		install-info --dir-file=$(infodir)/dir $(infodir)/$$realfile; \
  > 	    done; \
  > 	else true; fi;
I believe it's redundant in both locations now.

jeff



More information about the Gcc-patches mailing list