EXTRA_DIST += images input static
usr_docs: doxyfile_tui doxyfile_py 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 examples documentation" ; \
echo "===========================================" ; \
echo "===========================================" ; \
$(DOXYGEN) doxyfile_py ; \
echo "===========================================" ; \
- echo "Replacing geompyDC by geompy" ; \
- echo "===========================================" ; \
- files=`find geompy_doc -type f` ; \
- for filen in $${files} ; do \
- sed -e "s/\<geompyDC\>/geompy/g" -e "s/geompy\.geompy/geompy/g" \
- -e "s/geompy::geompy/geompy/g" $${filen} > $${filen}_ ; \
- mv -f $${filen}_ $${filen} ; \
- done ; \
- echo "===========================================" ; \
echo "Generating GUI documentation" ; \
echo "===========================================" ; \
- $(DOXYGEN) doxyfile ;
+ $(DOXYGEN) doxyfile ; \
+ rm -f $(top_builddir)/src/GEOM_SWIG/geompy.py
docs: usr_docs
#---------------------------------------------------------------------------
#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".
*/
EXTRA_DIST += images static
dev_docs: doxyfile
- echo "Running doxygen in directory: "`pwd`; \
- $(DOXYGEN) $<;
+ 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 "===========================================" ; \
+ $(DOXYGEN) doxyfile ; \
+ rm -f $(top_builddir)/src/GEOM_SWIG/geompy.py
clean-local:
-rm -fr GEOM doxygen.bak
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = @top_srcdir@/src \
+ @top_builddir@/src/GEOM_SWIG/geompy.py \
@top_srcdir@/bin \
@top_srcdir@/idl \
@top_builddir@/bin
FILE_PATTERNS = *.idl *.hxx *.cxx *.h *.c *.hh *.cc @DOXYGEN_PYTHON_EXTENSION@
RECURSIVE = YES
-EXCLUDE =
+EXCLUDE = @top_srcdir@/src/GEOM_SWIG/geompy.py \
+ @top_srcdir@/src/GEOM_SWIG/geompyDC.py
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =