From: mkr Date: Mon, 29 May 2006 08:57:46 +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=3e73d3046325dca00416c9250b85ca94599d878a;p=modules%2Fvisu.git Update build and install processes for GUI and TUI documentation. --- diff --git a/doc/salome/Makefile.in b/doc/salome/Makefile.in index 7899adff..26554aa0 100644 --- a/doc/salome/Makefile.in +++ b/doc/salome/Makefile.in @@ -35,16 +35,13 @@ SUBDIRSGUI= gui @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; \ @@ -52,20 +49,29 @@ dev_docs: clean: @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ + if test -d $$d/VISU; 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/VISU; 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/VISU; then \ + (cd $$d && $(MAKE) $@); \ + fi; \ + done uninstall: @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ + if test -d $$d/VISU; then \ + (cd $$d && $(MAKE) $@) || exit 1; \ + fi; \ done; \ diff --git a/doc/salome/gui/Makefile.in b/doc/salome/gui/Makefile.in index 3f3617cc..c8e9600c 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)/VISU ./ -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 59c95100..f44c28a0 100644 --- a/doc/salome/tui/Makefile.in +++ b/doc/salome/tui/Makefile.in @@ -16,7 +16,7 @@ doxygen=@DOXYGEN@ @COMMENCE@ -docs: +usr_docs: cp -fr $(srcdir)/VISU ./INPUT; \ cp -fr ./VISU/doxyfile ./INPUT; \ cp -fr ./VISU/sources/static/tree.js ./INPUT/sources/static; \ @@ -45,8 +45,6 @@ docs: cp -fr $(srcdir)/VISU/HTML/ VISU/ rm -fr INPUT -dev_docs: docs - clean: rm -fr VISU