From: mkr Date: Mon, 29 May 2006 08:17:38 +0000 (+0000) Subject: Update build and install processes for GUI and TUI documentation. X-Git-Tag: V3_2_0rc~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=78296700e300697d5bd87282e18db6445f6052cf;p=modules%2Fgeom.git Update build and install processes for GUI and TUI documentation. --- 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