This is the mail archive of the 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/

On Wed, 1 Jul 1998, Jeffrey A Law wrote:
> Dave Love <> wrote:
>> It looks sensible to me and I was probably confused.  However, why is
>> the sedantry necessary in the previous loop, doing the INSTALL_DATA?
> I believe it's redundant in both locations now.
and Manfred also agreed:
> Now that it's clear [...], the realfile stuff can be completely
> removed.

Indeed. Please find below an updated patch along these lines (which 
happens to be my first non-doc egcs patch, btw :-) ).


Thu Jul  2 14:10:14 1998  Gerald Pfeifer  <>
	* (install-info): No need to strip directory
	information from a filename if there cannot be any such 

RCS file: /egcs/carton/cvsfiles/egcs/gcc/,v
retrieving revision 1.145
diff -r1.145
< 	    realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
< 	    $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
> 	    $(INSTALL_DATA) $$f $(infodir)/$$f; \
< 		realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
< 		install-info --dir-file=$(infodir)/dir $(infodir)/$$realfile; \
> 		install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \

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