+# Copyright (C) 2005 OPEN CASCADE, CEA, EDF R&D, LEG
+# PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
# -* Makefile *-
#
# Author : Paul RASCLE (EDF)
dist-hook:
rm -rf `find $(distdir) -name CVS`
-userdoc:
- cp -fr $(srcdir)/KERNEL ./INPUT; \
- cd INPUT; \
- sed 's|../../../share/salome|@top_srcdir@|' ./doxyfile > ./doxyfile1; \
- mv -f doxyfile1 doxyfile; \
- $(DOXYGEN) ./doxyfile; \
+usr_docs:
+ cp -fr $(srcdir)/KERNEL/* ./INPUT; \
+ cd ./INPUT; \
+ pwd; ls;\
+ echo "DOXYGEN SUPPORT PYTHON - $(DOXYGEN_WITH_PYTHON)"; \
+ if( test "x$(DOXYGEN_WITH_PYTHON)" = "xyes"); then \
+ sed 's|python_extension_must_be_here|*.py|' ./doxyuser > ./doxyuser1; \
+ $(DOXYGEN) -u ./doxyuser1; \
+ else \
+ sed 's|python_extension_must_be_here||' ./doxyuser > ./doxyuser1; \
+ fi; \
+ echo "DOXYGEN SUPPORT STL - $(DOXYGEN_WITH_STL)"; \
+ if( test "x$(DOXYGEN_WITH_STL)" = "xyes"); then \
+ sed -e 's|BUILTIN_STL_SUPPORT = NO|BUILTIN_STL_SUPPORT = YES|' ./doxyuser1 > ./doxyuser2; \
+ mv -f doxyuser2 doxyuser1; \
+ fi; \
+ $(DOXYGEN) ./doxyuser1; \
cd ..;
- $(INSTALL) -d $(docdir)/tui/KERNEL;
+ $(INSTALL) -d $(docdir)/tui/KERNEL;
+ cp -fr KERNEL $(docdir)/tui
cp -fr $(srcdir)/KERNEL/sources/static/*.* $(docdir)/tui/KERNEL;
cp -fr $(srcdir)/KERNEL/sources/ $(docdir)/tui/KERNEL;
cp -fr $(srcdir)/KERNEL/HTML/ $(docdir)/tui/KERNEL;
cp -f $(srcdir)/pythfilter.py $(docdir)/tui/KERNEL;
+dev_docs:
+ cp -fr $(srcdir)/KERNEL/* ./INPUT; \
+ cd ./INPUT; \
+ pwd; ls;\
+ echo "DOXYGEN SUPPORT PYTHON - $(DOXYGEN_WITH_PYTHON)"; \
+ if( test "x$(DOXYGEN_WITH_PYTHON)" = "xyes"); then \
+ sed 's|python_extension_must_be_here|*.py|' ./doxydev > ./doxydev1; \
+ $(DOXYGEN) -u ./doxydev1; \
+ else \
+ sed 's|python_extension_must_be_here||' ./doxydev > ./doxydev1; \
+ fi; \
+ echo "DOXYGEN SUPPORT STL - $(DOXYGEN_WITH_STL)"; \
+ if( test "x$(DOXYGEN_WITH_STL)" = "xyes"); then \
+ sed -e 's|BUILTIN_STL_SUPPORT = NO|BUILTIN_STL_SUPPORT = YES|' ./doxydev1 > ./doxydev2; \
+ mv -f doxydev2 doxydev1; \
+ fi; \
+ $(DOXYGEN) ./doxydev1; \
+ cd ..;
+ $(INSTALL) -d $(docdir)/tui/KERNEL;
+# cp -fr KERNEL $(docdir)/tui
+# cp -fr $(srcdir)/KERNEL/sources/static/*.* $(docdir)/tui/KERNEL;
+# cp -fr $(srcdir)/KERNEL/sources/ $(docdir)/tui/KERNEL;
+# cp -fr $(srcdir)/KERNEL/HTML/ $(docdir)/tui/KERNEL;
+# cp -f $(srcdir)/pythfilter.py $(docdir)/tui/KERNEL;