changeset 980:4793e60ad17c

[project @ 1994-12-13 04:52:24 by jwe]
author jwe
date Tue, 13 Dec 1994 04:52:24 +0000
parents 0f3e32a0c440
children 73cc20a6976b
files doc/interpreter/Makefile.in
diffstat 1 files changed, 12 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/Makefile.in
+++ b/doc/interpreter/Makefile.in
@@ -157,14 +157,18 @@
 	    done ; \
 	  fi ; \
 	  if test -f $(infodir)/dir ; then \
-	    echo "" ; \
-	    echo "You should add the following entry" ; \
-	    echo "" ; \
-	    echo "* Octave: (octave)." ; \
-	    echo "	Interactive language for numerical computations." ; \
-	    echo "" ; \
-	    echo "to $(infodir)/dir." ; \
-	    echo "" ; \
+	    if grep "^\* Octave: (octave)." $(infodir)/dir > /dev/null ; then \
+	      true ; \
+	    else \
+	      echo "" ; \
+	      echo "You should add the following entry" ; \
+	      echo "" ; \
+	      echo "* Octave: (octave)." ; \
+	      echo "	Interactive language for numerical computations." ; \
+	      echo "" ; \
+	      echo "to $(infodir)/dir." ; \
+	      echo "" ; \
+	    fi ; \
 	  else \
 	    echo "installing $(srcdir)/dir in $(infodir)" ; \
 	    $(INSTALL_DATA) $(srcdir)/dir $(infodir)/dir ; \