Salome HOME
*** empty log message ***
[modules/kernel.git] / bin / Makefile.am
1 #  Copyright (C) 2007-2008  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 # -* Makefile *- 
23 # Author : Guillaume Boulant (CSSI)
24 # Module : KERNEL
25 # $Header$
26 #
27 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
28
29 #
30 # ===============================================================
31 # Files to be installed
32 # ===============================================================
33 #
34
35 # These files are data, module or lib files
36 dist_salomescript_DATA =        \
37         config_appli.xml        \
38         salome.launch
39
40 nodist_salomescript_DATA =      \
41         VERSION
42
43 # These files are executable scripts
44 dist_salomescript_SCRIPTS =             \
45         addToKillList.py                \
46         appli_clean.sh                  \
47         appli_gen.py                    \
48         appli_install.sh                \
49         createAppli.sh                  \
50         envSalome.py                    \
51         killSalome.py                   \
52         killSalomeWithPort.py           \
53         launchConfigureParser.py        \
54         launchSalome.py                 \
55         nameserver.py                   \
56         NSparam.py                      \
57         orbmodule.py                    \
58         runIDLparser                    \
59         runNS.py                        \
60         runNS.sh                        \
61         runSalome                       \
62         runSalome.csh                   \
63         runSalome.ksh                   \
64         runSalome.py                    \
65         salomeConsole.py                \
66         salome_session.py               \
67         salome_utils.py                 \
68         server.py                       \
69         setenv.py                       \
70         showNS.py                       \
71         shutdownSalome.py               \
72         virtual_salome.py               \
73         waitContainers.py               \
74         waitNS.py                       \
75         waitNS.sh
76
77 EXTRA_DIST = appliskel
78
79 dist-hook:
80         rm -rf `find $(distdir)/appliskel -name CVS`
81
82 DISTCLEANFILES = $(top_builddir)/bin/salome/Makefile.am
83
84 # This is an ugly target to avoid exploring the appliskel subdirectory.
85 install-exec-local:
86         $(INSTALL) -d $(DESTDIR)$(salomescriptdir)
87         $(RM) -rf $(DESTDIR)$(salomescriptdir)/appliskel 1> /dev/null 2>&1
88         cp -r $(srcdir)/appliskel $(DESTDIR)$(salomescriptdir)
89         chmod a+x -R $(DESTDIR)$(salomescriptdir)/appliskel
90         find $(DESTDIR)$(salomescriptdir) -name CVS -prune -exec rm -rf {} \;
91
92 uninstall-local:
93         if test -d $(DESTDIR)$(salomescriptdir)/appliskel; then \
94           find $(DESTDIR)$(salomescriptdir)/appliskel -exec chmod +w {} ';' ; \
95           rm -rf $(DESTDIR)$(salomescriptdir)/appliskel; \
96         fi;
97