]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Improve documentation
authorvsr <vsr@opencascade.com>
Mon, 8 Apr 2013 16:06:58 +0000 (16:06 +0000)
committervsr <vsr@opencascade.com>
Mon, 8 Apr 2013 16:06:58 +0000 (16:06 +0000)
doc/salome/gui/BLSURFPLUGIN/Makefile.am
doc/salome/gui/BLSURFPLUGIN/doxyfile_py.in

index 5721bd7cbf418486a7b7e8ac5cce581291fa7328..4223e436141fa237346ea7997c39a490d38b84d7 100644 (file)
@@ -29,13 +29,19 @@ guidocdir = $(docdir)/gui/BLSURFPLUGIN
 guidoc_DATA = images/head.png
 
 DOC_PYTHONPATH=$(prefix)/bin/salome:$(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(SMESH_ROOT_DIR)/bin/salome:$(SMESH_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(MED_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(GEOM_ROOT_DIR)/bin/salome:$(GEOM_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/bin/salome:$(KERNEL_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(OMNIORB_ROOT)/lib/python$(PYTHON_VERSION)/site-packages:$(OMNIORB_ROOT)/lib64/python$(PYTHON_VERSION)/site-packages
-DOC_LD_LIBRARY_PATH=$(prefix)/lib/salome:${SMESH_ROOT_DIR}/lib/salome:${MED_ROOT_DIR}/lib/salome:${GEOM_ROOT_DIR}/lib/salome:${KERNEL_ROOT_DIR}/lib/salome
+DOC_LD_LIBRARY_PATH=$(prefix)/lib/salome:$(SMESH_ROOT_DIR)/lib/salome:$(MED_ROOT_DIR)/lib/salome:$(GEOM_ROOT_DIR)/lib/salome:$(KERNEL_ROOT_DIR)/lib/salome
 DOC_SMESH_MeshersList=BLSURFPlugin
 
-smeshBuilder.py: $(top_srcdir)/src/BLSURFPlugin/BLSURFPluginBuilder.py
-       @PYTHONPATH=$(DOC_PYTHONPATH):${PYTHONPATH} LD_LIBRARY_PATH=$(DOC_LD_LIBRARY_PATH):${LD_LIBRARY_PATH} SMESH_MeshersList=$(DOC_SMESH_MeshersList) $(PYTHON) $(SMESH_ROOT_DIR)/bin/salome/collect_mesh_methods.py -d -o $@ BLSURFPlugin
+tmp/smeshBuilder.py: $(top_srcdir)/src/BLSURFPlugin/BLSURFPluginBuilder.py
+       @mkdir -p tmp && PYTHONPATH=$(DOC_PYTHONPATH):${PYTHONPATH} LD_LIBRARY_PATH=$(DOC_LD_LIBRARY_PATH):${LD_LIBRARY_PATH} SMESH_MeshersList=$(DOC_SMESH_MeshersList) $(PYTHON) $(SMESH_ROOT_DIR)/bin/salome/collect_mesh_methods.py -d -o $@ BLSURFPlugin
 
-usr_docs: doxyfile_py doxyfile smeshBuilder.py
+tmp/BLSURFPluginBuilder.py: $(top_srcdir)/src/BLSURFPlugin/BLSURFPluginBuilder.py
+       @mkdir -p tmp && $(KERNEL_ROOT_DIR)/bin/salome/prepare_generating_doc.py -o $@ $<
+
+tmp/smesh_algorithm.py : @SMESH_ROOT_DIR@/lib/python@PYTHON_VERSION@/site-packages/salome/salome/smesh/smesh_algorithm.py
+       @mkdir -p tmp && $(KERNEL_ROOT_DIR)/bin/salome/prepare_generating_doc.py -o $@ $<
+
+usr_docs: doxyfile_py doxyfile tmp/smeshBuilder.py tmp/BLSURFPluginBuilder.py tmp/smesh_algorithm.py
        @$(DOXYGEN) doxyfile_py ; \
        $(DOXYGEN) doxyfile
 
@@ -56,7 +62,7 @@ install-data-local: usr_docs
          case $${filen} in                                                                     \
            ./Makefile | ./doxyfile | ./doxyfile_py ) ;;                                        \
            ./doxyfile.bak | ./doxyfile_py.bak ) ;;                                             \
-           . | .. | ./static ) ;;                                                              \
+           . | .. | ./static | ./tmp ) ;;                                                      \
            *) echo "Installing $${filen}" ; cp -rp $${filen} $(DESTDIR)$(docdir)/gui/BLSURFPLUGIN ;;   \
          esac ;                                                                                \
        done ;
index 463265f25a6b79f3a130a4ea1eb40cc71fd9753c..fde4ce5abc94bfda475025635d9dbb05d836600c 100755 (executable)
@@ -96,9 +96,9 @@ EXAMPLE_RECURSIVE      = NO
 #---------------------------------------------------------------------------
 #Input related options
 #---------------------------------------------------------------------------
-INPUT             = @top_srcdir@/src/BLSURFPlugin/BLSURFPluginBuilder.py \
-                   smeshBuilder.py \
-                   @SMESH_ROOT_DIR@/lib/python@PYTHON_VERSION@/site-packages/salome/salome/smesh/smesh_algorithm.py
+INPUT             = tmp/BLSURFPluginBuilder.py \
+                   tmp/smeshBuilder.py \
+                   tmp/smesh_algorithm.py
 FILE_PATTERNS     = 
 IMAGE_PATH        = @srcdir@/images
 RECURSIVE         = NO