From 32a243f55dc0c73184cb670bc0658806d5736182 Mon Sep 17 00:00:00 2001 From: nge Date: Thu, 24 Jul 2008 15:30:59 +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 abe560f09..a08272858 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,9 +44,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..85505cb9a 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