Whamcloud - gitweb
land b1_5 onto HEAD
[fs/lustre-release.git] / lustre / scripts / Makefile.am
1 # Copyright (C) 2001  Cluster File Systems, Inc.
2 #
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
5
6 sbinscripts = lc_servip.sh lustre_up14.sh lustre_rmmod.sh
7
8 # These are scripts that are generated from .in files
9 genscripts = lustre_config.sh lc_modprobe.sh lc_net.sh lc_hb.sh lc_cluman.sh lustre_createcsv.sh lc_md.sh lc_lvm.sh
10
11 sbin_SCRIPTS = $(genscripts) $(sbinscripts)
12 bin_SCRIPTS = lustre_req_history.sh
13
14 EXTRA_DIST = license-status maketags.sh version_tag.pl.in lc_common.sh \
15              $(addsuffix .in,$(genscripts)) lc_mon.sh $(sbinscripts) \
16              $(bin_SCRIPTS)
17
18 scriptlibdir = $(libdir)/@PACKAGE@
19 scriptlib_DATA = lc_common.sh
20
21 CLEANFILES = $(genscripts)
22
23 $(genscripts): %.sh: %.sh.in
24         sed -e 's#@scriptlibdir@#$(scriptlibdir)#' < $< > $@
25         chmod +x $@