From ee5b121e9b9f941cb947588b7752727370d7054a Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 2 Jul 1998 06:19:07 +0000 Subject: [PATCH] Makefile.in (install-info): Don't use $realfile. Thu Jul 2 14:13:28 1998 Dave Love * Makefile.in (install-info): Don't use $realfile. Ignore possible errors from the install-info program. From-SVN: r20888 --- gcc/ChangeLog | 5 +++++ gcc/Makefile.in | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ff93d4be81..f95b73bacc2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 2 14:13:28 1998 Dave Love + + * Makefile.in (install-info): Don't use $realfile. Ignore + possible errors from the install-info program. + Thu Jul 2 01:53:32 1998 Alasdair Baird * combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 8ffc3a20bb5..455ec5b1e63 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2374,17 +2374,15 @@ install-driver: xgcc$(exeext) # Install the info files. # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir -# to do the install. The sed rule was copied from stmp-int-hdrs. +# to do the install. install-info: doc installdirs lang.install-info -rm -f $(infodir)/cpp.info* $(infodir)/gcc.info* for f in cpp.info* gcc.info*; do \ - realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \ - $(INSTALL_DATA) $$f $(infodir)/$$realfile; \ + $(INSTALL_DATA) $$f $(infodir)/$$f; \ done - if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ + -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; \ + install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \ done; \ else true; fi; -chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info* -- 2.30.2