1 # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
24 # Author : Guillaume Boulant (CSSI)
28 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
31 # ===============================================================
32 # Files to be installed
33 # ===============================================================
36 # These files are data, module or lib files
37 dist_salomescript_DATA = \
41 nodist_salomescript_DATA = \
44 # These files are executable scripts
45 dist_salomescript_SCRIPTS = \
57 # These files are python files
58 dist_salomescript_PYTHON = \
63 killSalomeWithPort.py \
64 launchConfigureParser.py \
82 EXTRA_DIST = appliskel
85 rm -rf `find $(distdir)/appliskel -name CVS`
87 DISTCLEANFILES = $(top_builddir)/bin/salome/Makefile.am
89 # This is an ugly target to avoid exploring the appliskel subdirectory.
91 $(INSTALL) -d $(DESTDIR)$(salomescriptdir)
92 $(RM) -rf $(DESTDIR)$(salomescriptdir)/appliskel 1> /dev/null 2>&1
93 cp -r $(srcdir)/appliskel $(DESTDIR)$(salomescriptdir)
94 chmod a+x -R $(DESTDIR)$(salomescriptdir)/appliskel
95 find $(DESTDIR)$(salomescriptdir) -name CVS -prune -exec rm -rf {} \;
98 if test -d $(DESTDIR)$(salomescriptdir)/appliskel; then \
99 find $(DESTDIR)$(salomescriptdir)/appliskel -exec chmod +w {} ';' ; \
100 rm -rf $(DESTDIR)$(salomescriptdir)/appliskel; \
104 @for f in $(dist_salomescript_PYTHON) ; do \
105 chmod -f a+x $(DESTDIR)$(salomescriptdir)/$$f ; \