Salome HOME
Update comments for ExportMED / ExportToMED methods
[modules/smesh.git] / doc / salome / tui / Makefile.in
1 #  Copyright (C) 2003  CEA/DEN, EDF R&D
2 #
3 #
4 #
5 #  File   : Makefile.in
6 #  Author : Vasily Rusyaev (Open Cascade NN)
7 #  Module : doc
8 #  $Header: 
9
10 top_srcdir=@top_srcdir@
11 top_builddir=../../..
12 root_srcdir=@ROOT_SRCDIR@
13 srcdir=@srcdir@
14 VPATH=.:@srcdir@
15 doxygen=@DOXYGEN@
16
17 @COMMENCE@
18
19 PYTHON_SCRIPTS = \
20         meshpy.py
21
22 docs:
23         cp -fr $(srcdir)/SMESH ./INPUT; \
24         cd INPUT; \
25         sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
26         mv -f doxyfile1 doxyfile; \
27         $(doxygen) ./doxyfile; \
28         mkdir py1; mkdir py2; \
29         cd ..
30         for file in $(PYTHON_SCRIPTS) dummy; do \
31           if [ $$file != "dummy" ]; then \
32             cp $(root_srcdir)/src/SMESH_SWIG/$$file INPUT/py1/; \
33           fi ; \
34         done
35         cd INPUT; \
36         python $(KERNEL_ROOT_DIR)/doc/salome/tui/KERNEL/pythfilter.py ./py1 ./py2; \
37         sed 's|list_py_files_to_process|$(PYTHON_SCRIPTS)|' ./doxyfile_py > py2/doxyfile_py; \
38         cd py2; \
39         $(doxygen) ./doxyfile_py; \
40         cd ../..; \
41         cp -fr $(srcdir)/SMESH/sources/static/*.* ./SMESH/
42         cp -fr $(srcdir)/SMESH/sources/ SMESH/
43         cp -fr $(srcdir)/SMESH/HTML/ SMESH/
44         rm -fr INPUT
45
46 clean:
47         rm -fr SMESH
48
49 distclean: clean
50         rm -fr INPUT
51
52 install:
53         $(INSTALL) -d $(docdir); \
54         mkdir -p $(docdir)/tui
55         cp -fr SMESH $(docdir)/tui
56
57 uninstall:
58         rm -fr $(docdir)/tui/SMESH