Makefile.in (install-info): Use install-info program if available, per GNU standard.

* Makefile.in (install-info): Use install-info program if
	available, per GNU standard.

From-SVN: r20645
This commit is contained in:
Dave Love 1998-06-21 20:01:56 +00:00 committed by Jeff Law
parent 2086b675dd
commit 824d90760c
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Sun Jun 21 17:05:34 1998 Dave Love <d.love@dl.ac.uk>
* Makefile.in (install-info): Use install-info program if
available, per GNU standard.
Sun Jun 21 18:56:44 1998 Jeffrey A Law (law@cygnus.com)
* haifa-sched.c (debug_ready_list): Make static.

View File

@ -2365,6 +2365,9 @@ install-info: doc installdirs lang.install-info
for f in cpp.info* gcc.info*; do \
realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
$(INSTALL_DATA) $$f $(infodir)/$$realfile; \
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
install-info --dir-file=$(infodir)/dir $(infodir)/$$realfile; \
else true; fi
done
-chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*