]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/Makefile.am
Salome HOME
Fix issue 0019972: EDF 810 GEOM: doxygen documentation: exclude 'geompyDC' from docum...
[modules/geom.git] / doc / salome / gui / Makefile.am
1 #  Copyright (C) 2005  CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D
2 #
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.
7 #
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.
12 #
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
16 #
17 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 #  File   : Makefile.in
20 #  Author : Vasily Rusyaev (Open Cascade NN)
21 #  Modified by : Alexander BORODIN (OCN) - autotools usage
22 #  Module : doc
23
24 include $(top_srcdir)/adm_local/unix/make_common_starter.am
25
26 EXTRA_DIST+=GEOM
27
28 doxygen=@DOXYGEN@
29
30 usr_docs:
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 ;                             \
35         cd ./GEOM ; \
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
43
44 docs: usr_docs
45
46 clean-local:
47         rm -fr `ls | grep -v "Makefile"`
48         rm -fr GEOM
49
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 {} \;
54
55 uninstall-local:
56         rm -rf $(docdir)/gui/GEOM
57
58 docguidir=$(docdir)/gui/GEOM
59
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