This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Minor simplification for gcc/Makefile.in
- To: Dave Love <d dot love at dl dot ac dot uk>
- Subject: Re: Minor simplification for gcc/Makefile.in
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 01 Jul 1998 23:52:13 -0600
- cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>, egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
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