From 99b2666c4985997245efcfeedb63681121796bac Mon Sep 17 00:00:00 2001 From: nge Date: Thu, 24 Jul 2008 15:32: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 62e21b1b5..7167a5e13 100644 --- a/Makefile.am +++ b/Makefile.am @@ -48,9 +48,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 6a2c2428b..4d3da7060 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -25,3 +25,15 @@ # 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