From be40e4cab9a35c11c5e8c79d26fd359a46546276 Mon Sep 17 00:00:00 2001 From: nge Date: Thu, 24 Jul 2008 15:32:04 +0000 Subject: [PATCH] Correction of Makefile.am for the doc generation. --- Makefile.am | 4 ++-- doc/Makefile.am | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index b92e7ddb0..1aa9f6cc8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,9 +43,9 @@ dist-hook: rm -rf `find $(distdir) -name CVS` usr_docs: - (cd doc && $(MAKE) $(AM_MAKEFLAGS) usr_docs) + (cd doc/salome && $(MAKE) $(AM_MAKEFLAGS) usr_docs) docs:usr_docs dev_docs: - (cd doc && $(MAKE) $(AM_MAKEFLAGS) dev_docs) + (cd doc/salome && $(MAKE) $(AM_MAKEFLAGS) dev_docs) diff --git a/doc/Makefile.am b/doc/Makefile.am index dcbc00f24..8d289146e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -28,3 +28,15 @@ # source path SUBDIRS= salome + +usr_docs: + @@SETX@; for d in $(SUBDIRS); do \ + (cd $$d && $(MAKE) $@) || exit 1; \ + done; + +docs: usr_docs + +dev_docs: + @@SETX@; for d in $(SUBDIRS); do \ + (cd $$d && $(MAKE) $@) || exit 1; \ + done; -- 2.39.2