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
31 echo "Replacing geompyDC by geompy" ; \
32 sed -e "/class geompyDC/d" -e "s/^ *#/#/g" -e "s/^ *def /def /g" \
33 -e "s/geompyDC/geompy/g" $(top_srcdir)/src/GEOM_SWIG/geompyDC.py > \
34 $(top_builddir)/src/GEOM_SWIG/geompy.py ; \
36 echo "Running doxygen in directory: "`pwd`; \
37 $(doxygen) ./doxyfile_tui; \
38 echo "Processing geompy.py file: "; \
39 $(doxygen) ./doxyfile_py; \
40 echo "Running doxygen in directory: "`pwd`; \
41 $(doxygen) ./doxyfile; \
42 rm -f $(top_builddir)/src/GEOM_SWIG/geompy.py
47 rm -fr `ls | grep -v "Makefile"`
50 install-data-local: usr_docs
51 mkdir -p $(docdir)/gui
52 cp -rf GEOM $(docdir)/gui
53 -find $(PWD) -name CVS -prune -exec rm -rf {} \;
56 rm -rf $(docdir)/gui/GEOM
58 docguidir=$(docdir)/gui/GEOM
60 nodist_docgui_DATA= GEOM/doxyfile
61 nodist_docgui_DATA+= GEOM/doxyfile_py
62 EXTRA_DIST+= GEOM/doxyfile.in
63 EXTRA_DIST+= GEOM/doxyfile_py.in