Mercurial > hg > octave-jordi
diff doc/interpreter/Makefile.in @ 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 | 14dc7688b6ab |
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 ; \