From 509d95a7613be9e1499ce6b9462ce332dc66f921 Mon Sep 17 00:00:00 2001 From: fx Date: Thu, 2 Jul 1998 06:19:07 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20888 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/Makefile.in | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ff93d4be817..f95b73bacc28 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 8ffc3a20bb51..455ec5b1e632 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.39.5