summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDave Love <d.love@dl.ac.uk>1998-06-21 20:01:56 +0000
committerJeff Law <law@gcc.gnu.org>1998-06-21 14:01:56 -0600
commit824d90760c30ece02ac567e2246c214496ca8916 (patch)
tree3d93d9c49d9766a34daf9abd037fedab3ab17f23 /gcc
parent2086b675dd3ebb60d5e69f823941ce955a2d2a45 (diff)
downloadgcc-824d90760c30ece02ac567e2246c214496ca8916.tar.gz
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4a7a6c4fbf1..b38ec0d71ff 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 3843e97bb73..819bccc4cc3 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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*