]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Update build and install processes for GUI and TUI documentation.
authormkr <mkr@opencascade.com>
Mon, 29 May 2006 08:54:42 +0000 (08:54 +0000)
committermkr <mkr@opencascade.com>
Mon, 29 May 2006 08:54:42 +0000 (08:54 +0000)
doc/salome/Makefile.in
doc/salome/gui/Makefile.in
doc/salome/tui/Makefile.in

index 95b9b1ed25629aa9743f165599f4e52a48fb7c98..ea3ade7d897ca38194c8f05cadeacdfc71a15318 100644 (file)
@@ -36,16 +36,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;    \
@@ -53,20 +50,29 @@ dev_docs:
 
 clean:
        @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
+          if test -d $$d/SUPERV; 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/SUPERV; 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/SUPERV; then          \
+             (cd $$d && $(MAKE) $@);           \
+          fi;                                  \
+       done
 
 uninstall:
        @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
+          if test -d $$d/SUPERV; then          \
+             (cd $$d && $(MAKE) $@) || exit 1; \
+          fi;                                  \
        done; \
index 6661cdcfef3d318770e73090b9909b5f923a5c27..742efbbd19a78fe996ed47eeeb3530738162d09a 100644 (file)
@@ -14,11 +14,11 @@ VPATH=.:@srcdir@
 
 @COMMENCE@
 
-docs:
+usr_docs:
        cp -fr $(srcdir)/SUPERV ./
        -find $(PWD) -name CVS -prune -exec rm -rf {} \;
 
-usr_docs: docs
+docs: usr_docs
 
 clean:
        rm -fr `ls | grep -v "Makefile"`
index f98e1a3e42f7602417b55581a99f7bdfe3125c77..6273486e25105256dcf8b9831e9803c8cbb21ed7 100644 (file)
@@ -16,7 +16,7 @@ doxygen=@DOXYGEN@
 
 @COMMENCE@
 
-docs:
+dev_docs:
        cp -fr $(srcdir)/SUPERV ./INPUT; \
        cp -fr ./SUPERV/doxyfile ./INPUT; \
        cp -fr ./SUPERV/sources/static/tree.js ./INPUT/sources/static; \
@@ -45,8 +45,6 @@ docs:
        cp -fr $(srcdir)/SUPERV/HTML/ SUPERV/
        rm -fr INPUT
 
-dev_docs: docs
-
 clean:
        rm -fr SUPERV