This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Minor simplification for gcc/Makefile.in




  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]