From 78296700e300697d5bd87282e18db6445f6052cf Mon Sep 17 00:00:00 2001 From: mkr Date: Mon, 29 May 2006 08:17:38 +0000 Subject: [PATCH] Update build and install processes for GUI and TUI documentation. --- doc/salome/Makefile.in | 26 ++++++++++++++++---------- doc/salome/gui/Makefile.in | 4 ++-- doc/salome/tui/Makefile.in | 4 +--- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/doc/salome/Makefile.in b/doc/salome/Makefile.in index 2429812a0..46b870ff5 100644 --- a/doc/salome/Makefile.in +++ b/doc/salome/Makefile.in @@ -18,16 +18,13 @@ SUBDIRSTUI= tui @COMMENCE@ -docs: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done; \ - usr_docs: @@SETX@; for d in $(SUBDIRSGUI); do \ (cd $$d && $(MAKE) $@) || exit 1; \ done; \ +docs: usr_docs + dev_docs: @@SETX@; for d in $(SUBDIRSTUI); do \ (cd $$d && $(MAKE) $@) || exit 1; \ @@ -35,20 +32,29 @@ dev_docs: clean: @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ + if test -d $$d/GEOM; then \ + (cd $$d && $(MAKE) $@) || exit 1; \ + fi; \ done distclean: clean @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ + if test -d $$d/GEOM; then \ + (cd $$d && $(MAKE) $@) || exit 1; \ + fi; \ done install: $(MAKE) docs - (cd tui && $(MAKE) install); - (cd gui && $(MAKE) install); + @@SETX@; for d in $(SUBDIRS); do \ + if test -d $$d/GEOM; then \ + (cd $$d && $(MAKE) $@); \ + fi; \ + done uninstall: @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ + if test -d $$d/GEOM; then \ + (cd $$d && $(MAKE) $@) || exit 1; \ + fi; \ done; \ diff --git a/doc/salome/gui/Makefile.in b/doc/salome/gui/Makefile.in index 1b73ad808..e3b972a37 100644 --- a/doc/salome/gui/Makefile.in +++ b/doc/salome/gui/Makefile.in @@ -14,11 +14,11 @@ VPATH=.:@srcdir@ @COMMENCE@ -docs: +usr_docs: cp -fr $(srcdir)/GEOM ./ -find $(PWD) -name CVS -prune -exec rm -rf {} \; -usr_docs: docs +docs: usr_docs clean: rm -fr `ls | grep -v "Makefile"` diff --git a/doc/salome/tui/Makefile.in b/doc/salome/tui/Makefile.in index ce10c939e..1667ca767 100644 --- a/doc/salome/tui/Makefile.in +++ b/doc/salome/tui/Makefile.in @@ -22,7 +22,7 @@ PYTHON_SCRIPTS = \ #PYTHON_SCRIPTS_PY2 = py2/geompy.py py2/GEOM_TestMeasures.py -docs: +dev_docs: cp -fr $(srcdir)/GEOM ./INPUT; \ cp -fr ./GEOM/doxyfile ./GEOM/doxyfile_py ./INPUT; \ cp -fr ./GEOM/sources/static/tree.js ./INPUT/sources/static; \ @@ -66,8 +66,6 @@ docs: cp -fr $(srcdir)/GEOM/HTML/ GEOM/ rm -fr INPUT -dev_docs: docs - clean: rm -fr GEOM -- 2.39.2