Salome HOME
Issue 0020400: EDF 1057 GEOM: Point coordinate operation gives (0,0,0)
[modules/geom.git] / doc / salome / gui / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 #  File   : Makefile.in
23 #  Author : Vasily Rusyaev (Open Cascade NN)
24 #  Modified by : Alexander BORODIN (OCN) - autotools usage
25 #  Module : doc
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 EXTRA_DIST+=GEOM
30
31 doxygen=@DOXYGEN@
32
33 usr_docs:
34         echo "Replacing geompyDC by geompy" ; \
35         sed -e "/class geompyDC/d" -e "s/^ *#/#/g" -e "s/^ *def /def /g"        \
36           -e "s/geompyDC/geompy/g" $(top_srcdir)/src/GEOM_SWIG/geompyDC.py >    \
37           $(top_builddir)/src/GEOM_SWIG/geompy.py ;                             \
38         cd ./GEOM ; \
39         echo "Running doxygen in directory: "`pwd`; \
40         $(doxygen) ./doxyfile_tui; \
41         echo "Processing geompy.py file: "; \
42         $(doxygen) ./doxyfile_py; \
43         echo "Running doxygen in directory: "`pwd`; \
44         $(doxygen) ./doxyfile; \
45         cd ..; \
46         rm -f $(top_builddir)/src/GEOM_SWIG/geompy.py
47
48 docs: usr_docs
49
50 clean-local:
51         rm -fr `ls | grep -v "Makefile"`
52         rm -fr GEOM
53
54 install-data-local: usr_docs
55         mkdir -p $(docdir)/gui
56         cp -rf GEOM $(docdir)/gui
57         -find $(PWD) -name CVS -prune -exec rm -rf {} \;
58
59 uninstall-local:
60         rm -rf $(docdir)/gui/GEOM
61
62 docguidir=$(docdir)/gui/GEOM
63
64 nodist_docgui_DATA= GEOM/doxyfile
65 nodist_docgui_DATA+= GEOM/doxyfile_py
66 EXTRA_DIST+= GEOM/doxyfile.in
67 EXTRA_DIST+= GEOM/doxyfile_py.in