2013-04-01 18:25:01 +06:00
|
|
|
# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
|
2009-02-13 17:16:39 +05:00
|
|
|
#
|
2012-08-09 13:58:02 +06:00
|
|
|
# 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.
|
2009-02-13 17:16:39 +05:00
|
|
|
#
|
2012-08-09 13:58:02 +06:00
|
|
|
# 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.
|
2009-02-13 17:16:39 +05:00
|
|
|
#
|
2012-08-09 13:58:02 +06:00
|
|
|
# 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
|
2009-02-13 17:16:39 +05:00
|
|
|
#
|
2012-08-09 13:58:02 +06:00
|
|
|
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
2009-02-13 17:16:39 +05:00
|
|
|
#
|
2012-08-09 13:58:02 +06:00
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
# File : Makefile.in
|
|
|
|
# Author : Vasily Rusyaev (Open Cascade NN)
|
|
|
|
# Modified by : Alexander BORODIN (OCN) - autotools usage
|
|
|
|
# Module : doc
|
|
|
|
#
|
|
|
|
include $(top_srcdir)/adm_local/unix/make_common_starter.am
|
|
|
|
|
2013-04-10 14:33:27 +06:00
|
|
|
EXTRA_DIST += images input static/footer.html static/salome_extra.css static/SALOME_BOA_PA.pdf
|
2012-08-09 13:58:02 +06:00
|
|
|
|
|
|
|
guidocdir = $(docdir)/gui/GEOM
|
|
|
|
guidoc_DATA = images/head.png static/SALOME_BOA_PA.pdf
|
2009-02-13 17:16:39 +05:00
|
|
|
|
2013-04-08 19:39:58 +06:00
|
|
|
tmp/geomBuilder.py: $(top_srcdir)/src/GEOM_SWIG/geomBuilder.py
|
|
|
|
mkdir -p tmp && $(KERNEL_ROOT_DIR)/bin/salome/prepare_generating_doc.py -o $@ $<
|
|
|
|
|
|
|
|
tmp/gsketcher.py: $(top_srcdir)/src/GEOM_SWIG/gsketcher.py
|
|
|
|
mkdir -p tmp && $(KERNEL_ROOT_DIR)/bin/salome/prepare_generating_doc.py -o $@ $<
|
|
|
|
|
|
|
|
usr_docs: doxyfile_tui doxyfile_py doxyfile tmp/geomBuilder.py tmp/gsketcher.py
|
|
|
|
@echo "Generating user documentation" ; \
|
2009-02-13 17:16:39 +05:00
|
|
|
$(DOXYGEN) doxyfile_tui ; \
|
|
|
|
$(DOXYGEN) doxyfile_py ; \
|
2013-04-08 19:39:58 +06:00
|
|
|
$(DOXYGEN) doxyfile
|
2009-02-13 17:16:39 +05:00
|
|
|
|
|
|
|
docs: usr_docs
|
|
|
|
|
|
|
|
clean-local:
|
2012-08-09 13:58:02 +06:00
|
|
|
@for filen in `find . -maxdepth 1` ; do \
|
2009-02-13 17:16:39 +05:00
|
|
|
case $${filen} in \
|
2012-08-09 13:58:02 +06:00
|
|
|
./Makefile* | ./doxyfile* | ./images | ./input | ./static ) ;; \
|
|
|
|
. | .. | ./CVS ) ;; \
|
2009-02-13 17:16:39 +05:00
|
|
|
*) echo "Removing $${filen}" ; rm -rf $${filen} ;; \
|
|
|
|
esac ; \
|
|
|
|
done ;
|
|
|
|
|
|
|
|
install-data-local: usr_docs
|
2012-08-09 13:58:02 +06:00
|
|
|
@if [ -e index.html ]; then \
|
|
|
|
$(INSTALL) -d $(DESTDIR)$(docdir)/gui/GEOM ; \
|
|
|
|
for filen in `find . -maxdepth 1` ; do \
|
2009-02-13 17:16:39 +05:00
|
|
|
case $${filen} in \
|
2013-04-08 20:45:11 +06:00
|
|
|
. | .. | ./static | ./tmp | ./Makefile* | ./doxyfile* ) ;; \
|
2009-02-13 17:16:39 +05:00
|
|
|
*) echo "Installing $${filen}" ; cp -rp $${filen} $(DESTDIR)$(docdir)/gui/GEOM ;; \
|
|
|
|
esac ; \
|
2012-08-09 13:58:02 +06:00
|
|
|
done ; \
|
|
|
|
cp -rp $(srcdir)/images/head.png $(DESTDIR)$(docdir)/gui/GEOM/geompy_doc ; \
|
2013-04-14 01:46:48 +06:00
|
|
|
mkdir $(DESTDIR)$(docdir)/gui/GEOM/input ; \
|
|
|
|
cp -rp $(srcdir)/input/geompy_migration.doc $(DESTDIR)$(docdir)/gui/GEOM/input ; \
|
|
|
|
cp -rp $(srcdir)/input/tui_auto_completion_documentation.doc $(DESTDIR)$(docdir)/gui/GEOM/input ; \
|
|
|
|
cp -rp $(srcdir)/input/tui_execution_distribution.doc $(DESTDIR)$(docdir)/gui/GEOM/input ; \
|
2012-08-09 13:58:02 +06:00
|
|
|
fi
|
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(DESTDIR)$(docdir)/gui/GEOM
|