Minor simplification for gcc/Makefile.in

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Tue Jun 30 07:14:00 GMT 1998


While trying to hunt down a bug in Makefile.in I found that part of

    Fri Jun 26 17:36:42 1998  Dave Love  <d.love@dl.ac.uk>

        * Makefile.in (install-info): Run install-info program in separate
        loop.

could be simplified somewhat. 

Gerald


Tue Jun 30 16:04:21 1998  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

	* Makefile.in: No need to strip the directory information from a
	filename if there cannot be any such information.

Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/Makefile.in,v
retrieving revision 1.144
diff -r1.144 Makefile.in
2386,2387c2386
< 		realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
< 		install-info --dir-file=$(infodir)/dir $(infodir)/$$realfile; \
---
> 		install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \




More information about the Gcc-patches mailing list