X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fscripts%2FMakefile.am;h=f0a44a33e4ca7ad55b8da3670a6064b5e35a6ab4;hb=5a7c97c4214f88f98316ac6fdcd3a3351ba87468;hp=050f583a3a5a4144286d112f53d240effd8d4c1d;hpb=9168c57d1c286329a94cf1f9dfbeb741d801f109;p=fs%2Flustre-release.git diff --git a/lustre/scripts/Makefile.am b/lustre/scripts/Makefile.am index 050f583..f0a44a3 100644 --- a/lustre/scripts/Makefile.am +++ b/lustre/scripts/Makefile.am @@ -3,8 +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 mkobddevs obdtrace_demo.scr lustre.spec $(initd_SCRIPTS) -initddir = $(sysconfdir)/init.d -initd_SCRIPTS = lustre -include $(top_srcdir)/Rules +sbinscripts = lc_servip lustre_up14 lustre_rmmod +# These are scripts that are generated from .in files +genscripts = lustre_config lc_modprobe lc_net lc_hb lc_cluman lustre_createcsv lc_md lc_lvm + +sbin_SCRIPTS = $(genscripts) $(sbinscripts) +bin_SCRIPTS = lustre_req_history + +EXTRA_DIST = license-status maketags.sh version_tag.pl.in lc_common \ + $(addsuffix .in,$(genscripts)) lc_mon $(sbinscripts) \ + $(bin_SCRIPTS) + +scriptlibdir = $(libdir)/@PACKAGE@ +scriptlib_DATA = lc_common + +CLEANFILES = $(genscripts) + +$(genscripts): %: %.in + sed -e 's#@scriptlibdir@#$(scriptlibdir)#' < $< > $@ + chmod +x $@