#---------------------------------------------------------------------------
#Input related options
#---------------------------------------------------------------------------
-INPUT = @top_srcdir@/src/GEOM_SWIG
-FILE_PATTERNS = geompyDC.py
+INPUT = @top_builddir@/src/GEOM_SWIG
+FILE_PATTERNS = geompy.py
IMAGE_PATH = @srcdir@/images
EXAMPLE_PATH = @top_srcdir@/src/GEOM_SWIG
RECURSIVE = NO
<a href="geompy_doc/modules.html">structured documentation for geompy.py</a>,
where all package functionality is separated in groups by purpose.
-\n Also you can find any function in the \ref geompyDC::geompyDC
+\n Also you can find any function in the \ref geompy
"linear documentation for geompy.py".
*/
doxygen=@DOXYGEN@
-# Below command replaces "geompyDC" by "geompy" except cases
-# "sgeompyDC", "1geompyDC" and "egeompyDC" (these sequences
-# can be found in file names and must not be replaces):
-#
-# sed 's/\([^s1e]\)geompyDC\|^geompyDC/\1geompy/g' $${filen} > ./tmp;
-#
usr_docs:
- cd ./GEOM; \
+ echo "Replacing geompyDC by geompy" ; \
+ sed -e "/class geompyDC/d" -e "s/^ *#/#/g" -e "s/^ *def /def /g" \
+ -e "s/geompyDC/geompy/g" $(top_srcdir)/src/GEOM_SWIG/geompyDC.py > \
+ $(top_builddir)/src/GEOM_SWIG/geompy.py ; \
+ cd ./GEOM ; \
echo "Running doxygen in directory: "`pwd`; \
$(doxygen) ./doxyfile_tui; \
- echo "Processing geompyDC.py file: "; \
+ echo "Processing geompy.py file: "; \
$(doxygen) ./doxyfile_py; \
- cd ./geompy_doc; \
- filesl=`find .`; \
- for filen in $${filesl}; do \
- sed 's/\([^s1e]\)geompyDC\|^geompyDC/\1geompy/g' $${filen} > ./tmp1; \
- sed 's/geompy\.geompy/geompy/g' ./tmp1 > ./tmp; \
- rm -f tmp1; \
- sed 's/geompy::geompy/geompy/g' ./tmp > ./tmp1; \
- rm -f tmp; \
- mv -f tmp1 $${filen}; \
- done; \
- cd ..; \
echo "Running doxygen in directory: "`pwd`; \
- $(doxygen) ./doxyfile;
+ $(doxygen) ./doxyfile; \
+ rm -f $(top_builddir)/src/GEOM_SWIG/geompy.py
docs: usr_docs
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = ../../../share/salome/src \
+ ../../../build/salome/src/GEOM_SWIG/geompy.py \
../../../share/salome/idl
FILE_PATTERNS = *.hxx *.cxx *.h *.c *.hh *.cc *.idl python_extension_must_be_here
RECURSIVE = YES
-EXCLUDE =
+EXCLUDE = ../../../share/salome/src/GEOM_SWIG/geompy.py \
+ ../../../share/salome/src/GEOM_SWIG/geompyDC.py
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = ../../../share/salome/src \
+ ../../../build/salome/src/GEOM_SWIG/geompy.py \
../../../share/salome/idl \
../../../build/salome/bin
FILE_PATTERNS = *.hxx *.cxx *.h *.c *.hh *.cc *.idl python_extension_must_be_here
RECURSIVE = YES
-EXCLUDE =
+EXCLUDE = ../../../share/salome/src/GEOM_SWIG/geompy.py \
+ ../../../share/salome/src/GEOM_SWIG/geompyDC.py
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXTRA_DIST+=GEOM
-dev_docs:
+dev_docs: doxyfile
+ echo "===========================================" ; \
+ echo "Replacing geompyDC by geompy" ; \
+ echo "===========================================" ; \
+ sed -e "/class geompyDC/d" -e "s/^ *#/#/g" -e "s/^ *def /def /g" \
+ -e "s/geompyDC/geompy/g" $(top_srcdir)/src/GEOM_SWIG/geompyDC.py > \
+ $(top_builddir)/src/GEOM_SWIG/geompy.py ; \
+ echo "===========================================" ; \
+ echo "Generating TUI documentation" ; \
+ echo "===========================================" ; \
cp -fr $(srcdir)/GEOM ./INPUT; \
cp -f ./GEOM/doxyfile ./INPUT; \
cd INPUT; \
$(DOXYGEN) ./doxyfile; \
cd ../; \
cp -fr $(srcdir)/GEOM/sources/ GEOM/ ; \
- rm -fr INPUT
+ rm -fr INPUT ; \
+ rm -f $(top_builddir)/src/GEOM_SWIG/geompy.py
+
+clean-local:
+ -rm -fr GEOM doxygen.bak
+
+install-data-local:
+ if test -d GEOM; then \
+ $(INSTALL) -d $(DESTDIR)$(docdir)/tui ; \
+ cp -rp GEOM $(DESTDIR)$(docdir)/tui ; \
+ fi;
+
+uninstall-local:
+ rm -rf $(DESTDIR)$(docdir)/tui/GEOM
doctuidir=$(docdir)/tui/GEOM