Fix solaris2 (without GNU install installed) install failure.
* Makefile.in (install-info): Don't cd into srcdir. Add srcdir to filenames. Use sed to extract base filename for install. From-SVN: r14910
This commit is contained in:
parent
4c9e597b51
commit
feb9ea1a1f
|
@ -1,3 +1,8 @@
|
|||
Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
|
||||
filenames. Use sed to extract base filename for install.
|
||||
|
||||
Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
|
||||
|
||||
* unroll.c (find_splittable_givs): Only share if two givs have the
|
||||
|
|
|
@ -2242,10 +2242,14 @@ install-driver: xgcc
|
|||
fi
|
||||
|
||||
# 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.
|
||||
install-info: doc installdirs lang.install-info
|
||||
-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
|
||||
cd $(srcdir); for f in cpp.info* gcc.info*; \
|
||||
do $(INSTALL_DATA) $$f $(infodir)/$$f; done
|
||||
for f in $(srcdir)/cpp.info* $(srcdir)/gcc.info*; do \
|
||||
realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
|
||||
$(INSTALL_DATA) $$f $(infodir)/$$realfile; \
|
||||
done
|
||||
-chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*
|
||||
|
||||
# Install the man pages.
|
||||
|
|
|
@ -435,10 +435,14 @@ f77.install-common:
|
|||
fi ; \
|
||||
else true; fi
|
||||
|
||||
# $(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.
|
||||
f77.install-info:
|
||||
-rm -f $(infodir)/g77.info*
|
||||
cd $(srcdir)/f; for f in g77.info*; \
|
||||
do $(INSTALL_DATA) $$f $(infodir)/$$f; done
|
||||
for f in $(srcdir)/f/g77.info*; do \
|
||||
realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
|
||||
$(INSTALL_DATA) $$f $(infodir)/$$realfile; \
|
||||
done
|
||||
-chmod a-x $(infodir)/g77.info*
|
||||
|
||||
f77.install-man: $(srcdir)/f/g77.1
|
||||
|
|
Loading…
Reference in New Issue