X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fscripts%2FMakefile.am;h=230664e383f52520c198473bd836c4b2fd26fed5;hp=b07c412f838c69b6a7ad6f8dbb5e2e64b9bc561c;hb=113303973ec9f8484eb2355a1a6ef3c4c7fd6a56;hpb=272294dfa235dac803ed2d2b2ee8e0bd402622bb diff --git a/lustre/scripts/Makefile.am b/lustre/scripts/Makefile.am index b07c412..230664e 100644 --- a/lustre/scripts/Makefile.am +++ b/lustre/scripts/Makefile.am @@ -3,12 +3,23 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution -EXTRA_DIST = license-status maketags.sh version_tag.pl.in \ - lustre lustrefs - -initddir = $(sysconfdir)/init.d -if UTILS -if INIT_SCRIPTS -initd_SCRIPTS = lustre lustrefs -endif -endif +sbinscripts = lc_servip.sh lustre_up14.sh lustre_rmmod.sh + +# These are scripts that are generated from .in files +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 + +sbin_SCRIPTS = $(genscripts) $(sbinscripts) +bin_SCRIPTS = lustre_req_history.sh + +EXTRA_DIST = license-status maketags.sh version_tag.pl.in lc_common.sh \ + $(addsuffix .in,$(genscripts)) lc_mon.sh $(sbinscripts) \ + $(bin_SCRIPTS) + +scriptlibdir = $(libdir)/@PACKAGE@ +scriptlib_DATA = lc_common.sh + +CLEANFILES = $(genscripts) + +$(genscripts): %.sh: %.sh.in + sed -e 's#@scriptlibdir@#$(scriptlibdir)#' < $< > $@ + chmod +x $@