From c9e8f0f7b638da1ab14bb8f299f66638b5dd68f6 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 9 Mar 2001 17:26:51 -0500 Subject: [svn-r3583] Purpose: Bug Fix Description: We only really need to go into the doc/ directory when doing a ``make install-doc''. Solution: Stop it from going further than here if doing some other type of make and just print a message saying "Nothing to do here" Platforms tested: Linux --- doc/Makefile.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/Makefile.in b/doc/Makefile.in index 14e9998..b5a4876 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -18,9 +18,7 @@ SUBDIRS=html ##=========================================================================== lib progs check test _test install uninstall: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done + @echo "Nothing to be done" tests TAGS dep depend: @@SETX@; for d in $(SUBDIRS); do \ @@ -29,8 +27,8 @@ tests TAGS dep depend: install-doc: @if test -d $(DOCDIR) ; then \ - :; \ - else \ + :; \ + else \ mkdir $(DOCDIR) && chmod 755 $(DOCDIR); \ fi @@SETX@; for d in $(SUBDIRS); do \ -- cgit v0.12