Salome HOME
Ajout des properties
[modules/kernel.git] / doc / salome / tui / Makefile.am
1 # Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
2 #           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
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 # -* Makefile *- 
20 #
21 # Author : Paul RASCLE (EDF)
22 # Date : 16/02/2006
23 # $Header$
24 #
25
26 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
27
28 EXTRA_DIST = $(srcdir)/KERNEL $(srcdir)/pythfilter.py
29
30 dist-hook:
31         rm -rf `find $(distdir) -name CVS`
32
33 usr_docs:
34         cp -fr $(srcdir)/KERNEL/* ./INPUT; \
35         cd ./INPUT; \
36         pwd; ls;\
37         echo "DOXYGEN SUPPORT PYTHON - $(DOXYGEN_WITH_PYTHON)"; \
38         if( test "x$(DOXYGEN_WITH_PYTHON)" = "xyes"); then \
39           sed 's|python_extension_must_be_here|*.py|' ./doxyuser > ./doxyuser1; \
40           $(DOXYGEN) -u ./doxyuser1; \
41         else \
42           sed 's|python_extension_must_be_here||' ./doxyuser > ./doxyuser1; \
43         fi; \
44         echo "DOXYGEN SUPPORT STL - $(DOXYGEN_WITH_STL)"; \
45         if( test "x$(DOXYGEN_WITH_STL)" = "xyes"); then \
46           sed -e 's|BUILTIN_STL_SUPPORT    = NO|BUILTIN_STL_SUPPORT    = YES|' ./doxyuser1 > ./doxyuser2; \
47           mv -f doxyuser2 doxyuser1; \
48         fi; \
49         $(DOXYGEN) ./doxyuser1; \
50         cd ..;
51         $(INSTALL) -d $(docdir)/tui/KERNEL;
52         cp -fr KERNEL $(docdir)/tui
53         cp -fr $(srcdir)/KERNEL/sources/static/*.* $(docdir)/tui/KERNEL;
54         cp -fr $(srcdir)/KERNEL/sources/ $(docdir)/tui/KERNEL;
55         cp -fr $(srcdir)/KERNEL/HTML/ $(docdir)/tui/KERNEL;
56         cp -f $(srcdir)/pythfilter.py $(docdir)/tui/KERNEL;
57         cp -fr $(srcdir)/KERNEL/exemple/ $(docdir)/tui/KERNEL;
58
59 dev_docs:
60         cp -fr $(srcdir)/KERNEL/* ./INPUT; \
61         cd ./INPUT; \
62         pwd; ls;\
63         echo "DOXYGEN SUPPORT PYTHON - $(DOXYGEN_WITH_PYTHON)"; \
64         if( test "x$(DOXYGEN_WITH_PYTHON)" = "xyes"); then \
65           sed 's|python_extension_must_be_here|*.py|' ./doxydev > ./doxydev1; \
66           $(DOXYGEN) -u ./doxydev1; \
67         else \
68           sed 's|python_extension_must_be_here||' ./doxydev > ./doxydev1; \
69         fi; \
70         echo "DOXYGEN SUPPORT STL - $(DOXYGEN_WITH_STL)"; \
71         if( test "x$(DOXYGEN_WITH_STL)" = "xyes"); then \
72           sed -e 's|BUILTIN_STL_SUPPORT    = NO|BUILTIN_STL_SUPPORT    = YES|' ./doxydev1 > ./doxydev2; \
73           mv -f doxydev2 doxydev1; \
74         fi; \
75         $(DOXYGEN) ./doxydev1; \
76         cd ..;
77         $(INSTALL) -d $(docdir)/tui/KERNEL;
78 #       cp -fr KERNEL $(docdir)/tui
79 #       cp -fr $(srcdir)/KERNEL/sources/static/*.* $(docdir)/tui/KERNEL;
80 #       cp -fr $(srcdir)/KERNEL/sources/ $(docdir)/tui/KERNEL;
81 #       cp -fr $(srcdir)/KERNEL/HTML/ $(docdir)/tui/KERNEL;
82 #       cp -f $(srcdir)/pythfilter.py $(docdir)/tui/KERNEL;