This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Minor simplification for gcc/Makefile.in
- To: egcs-patches at cygnus dot com
- Subject: Minor simplification for gcc/Makefile.in
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Tue, 30 Jun 1998 16:14:20 +0200 (MET DST)
- cc: Dave Love <d dot love at dl dot ac dot uk>
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; \