Salome HOME
1) Add CMake files to the dist rules (make dist)
[modules/kernel.git] / doc / salome / gui / Makefile.am
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License.
10 #
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # Lesser General Public License for more details.
15 #
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22
23 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
24
25 EXTRA_DIST += images static/footer.html static/doxygen.css
26
27 guidocdir = $(docdir)/gui/KERNEL
28 guidoc_DATA = images/head.png
29
30 usr_docs: doxyfile
31         echo "Running doxygen in directory: "`pwd`; \
32         $(DOXYGEN) $< ;
33
34 docs: usr_docs
35
36 install-data-local: usr_docs
37         if test -d KERNEL; then \
38         $(INSTALL) -d $(DESTDIR)$(docdir)/gui ; \
39         cp -rp KERNEL $(DESTDIR)$(docdir)/gui ; \
40         fi
41
42 uninstall-local:
43         rm -rf $(DESTDIR)$(docdir)/gui/KERNEL
44
45 clean-local:
46         -rm -fr KERNEL log.txt
47
48 dist-hook:
49         cp -Rp $(srcdir)/images $(distdir) ; \
50         rm -rf $(distdir)/images/CVS ; \
51         cp -Rp $(srcdir)/static $(distdir) ; \
52         rm -rf $(distdir)/static/CVS
53
54 # VSR: nullify these make targets to avoid 'make distcheck' failure
55 dvi:
56 pdf:
57 ps:
58