1 # Copyright (C) 2005 CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 # Author : Vasily Rusyaev (Open Cascade NN)
21 # Modified by : Alexander BORODIN (OCN) - autotools usage
24 include $(top_srcdir)/adm_local/unix/make_common_starter.am
30 # Below command replaces "geompyDC" by "geompy" except cases
31 # "sgeompyDC", "1geompyDC" and "egeompyDC" (these sequences
32 # can be found in file names and must not be replaces):
34 # sed 's/\([^s1e]\)geompyDC\|^geompyDC/\1geompy/g' $${filen} > ./tmp;
38 echo "Running doxygen in directory: "`pwd`; \
39 $(doxygen) ./doxyfile_tui; \
40 echo "Processing geompyDC.py file: "; \
41 $(doxygen) ./doxyfile_py; \
44 for filen in $${filesl}; do \
45 sed 's/\([^s1e]\)geompyDC\|^geompyDC/\1geompy/g' $${filen} > ./tmp1; \
46 sed 's/geompy\.geompy/geompy/g' ./tmp1 > ./tmp; \
48 sed 's/geompy::geompy/geompy/g' ./tmp > ./tmp1; \
50 mv -f tmp1 $${filen}; \
53 echo "Running doxygen in directory: "`pwd`; \
54 $(doxygen) ./doxyfile;
59 rm -fr `ls | grep -v "Makefile"`
62 install-data-local: usr_docs
63 mkdir -p $(docdir)/gui
64 cp -rf GEOM $(docdir)/gui
65 -find $(PWD) -name CVS -prune -exec rm -rf {} \;
68 rm -rf $(docdir)/gui/GEOM
70 docguidir=$(docdir)/gui/GEOM
72 nodist_docgui_DATA= GEOM/doxyfile
73 nodist_docgui_DATA+= GEOM/doxyfile_py
74 EXTRA_DIST+= GEOM/doxyfile.in
75 EXTRA_DIST+= GEOM/doxyfile_py.in