mclu initial commit.
[mclu.git] / Makefile.am
1 # mclu (mini cluster)
2 # Copyright (C) 2014 Red Hat Inc.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
18 ACLOCAL_AMFLAGS = -I m4
19
20 # This rule just ensures that the wrapper binary and Python files get
21 # installed when we do 'make install'.
22
23 bin_SCRIPTS = mclu
24
25 pkgdata_SCRIPTS = \
26         config.py \
27         lib.py \
28         mclu.py \
29         mclu_build.py \
30         mclu_console.py \
31         mclu_info.py \
32         mclu_list.py \
33         mclu_migrate.py \
34         mclu_shutdown.py \
35         mclu_start.py \
36         mclu_status.py \
37         mclu_stop.py \
38         mclu_viewer.py \
39         mclu_wake.py \
40         node.py
41
42 # Configuration file.
43
44 confdir = $(sysconfdir)/$(PACKAGE_NAME)
45 conf_DATA = mclu.conf
46
47 install-data-hook:
48         mkdir -p $(DESTDIR)/$(sysconfdir)/$(PACKAGE_NAME)/xmls
49
50 CLEANFILES = \
51         *~ \
52         *.pyc \
53         config.py \
54         mclu \
55         mclu.spec