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]

Minor simplification for gcc/Makefile.in


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; \



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