Salome HOME
Improving messages and writing of algorithm
[modules/adao.git] / doc / Makefile.am
index 793ecd66eff9b0dcaa167f06913f344a407a4e64..da70fcad7b98a196fe8f2d68459230e0558412f4 100644 (file)
@@ -1,3 +1,23 @@
+# Copyright (C) 2010-2011 EDF R&D
+#
+# 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
+#
+# Author: AndrĂ© Ribes, andre.ribes@edf.fr, EDF R&D
+
 include $(top_srcdir)/adm_local/make_common_starter.am
 
 # You can set these variables from the command line.
@@ -5,17 +25,41 @@ SPHINXOPTS    =
 SPHINXBUILD   = sphinx-build
 PAPER         =
 BUILDDIR      = $(top_builddir)/doc/build
-
-EXTRA_DIST = main.rst intro.rst conf.py
+SRCDIR        = $(top_srcdir)/doc
+
+EXTRA_DIST = conf.py advanced.rst  examples.rst  index.rst  intro.rst  theory.rst  using.rst \
+            resources/ADAO.png \
+            resources/ADAO_small.png \
+            resources/ADAO_small_rouge.png \
+            resources/ADAO_small_vert.png \
+            images/adao_activate.png \
+            images/adao_jdcexample01.png \
+            images/adao_scriptentry01.png \
+            images/adao_viewer.png \
+            images/eficas_new.png \
+            images/eficas_save.png \
+            images/eficas_yacs.png \
+            images/yacs_generatedscheme.png \
+            images/adao_exporttoyacs.png \
+            images/adao_jdcexample02.png \
+            images/adao_scriptentry02.png \
+            images/eficas_close.png \
+            images/eficas_open.png \
+            images/eficas_saveas.png \
+            images/yacs_containerlog.png
 
 install-data-local:
        make html
        ${mkinstalldirs} $(DESTDIR)$(docdir)
+       ${mkinstalldirs} $(DESTDIR)$(salomeresdir)
        cp -R $(BUILDDIR)/html/* $(DESTDIR)$(docdir)
+       cp $(SRCDIR)/resources/*.png $(DESTDIR)$(salomeresdir)
+       cp $(SRCDIR)/images/eficas_*.png $(DESTDIR)$(salomeresdir)
 
 uninstall-local:
        chmod -R +w $(DESTDIR)$(docdir)
        rm -rf $(DESTDIR)$(docdir)
+       rm -f $(DESTDIR)$(salomeresdir)/*.png
 
 clean-local:
        -rm -rf $(top_builddir)/doc/build