tests/src/vfs/extfs/helpers-list/Makefile.am: create run silently.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2016-12-16 10:12:27 +03:00
parent 9764511b08
commit 84cbca51af

View File

@ -57,23 +57,23 @@ data_files_to_distribute = \
EXTRA_DIST = mc_xcat test_all $(data_files_to_distribute)
run:
echo '#!/bin/sh' > $@
echo >> $@
echo '# This script is an easy way to launch the "test_all" script' >> $@
echo '# with all the required arguments.' >> $@
echo '#' >> $@
echo '# Run this script with "--help" to learn more.' >> $@
echo >> $@
echo '# Where to find mc_parse_ls_l and mc_xcat, respectively.' >> $@
echo 'PATH="$(abs_builddir):$(abs_srcdir):$$PATH"' >> $@
echo >> $@
@echo '#!/bin/sh' > $@
@echo >> $@
@echo '# This script is an easy way to launch the "test_all" script' >> $@
@echo '# with all the required arguments.' >> $@
@echo '#' >> $@
@echo '# Run this script with "--help" to learn more.' >> $@
@echo >> $@
@echo '# Where to find mc_parse_ls_l and mc_xcat, respectively.' >> $@
@echo 'PATH="$(abs_builddir):$(abs_srcdir):$$PATH"' >> $@
@echo >> $@
# The 'abs_' isn't mandatory. It lets you move this script out of the build tree.
echo '"$(abs_srcdir)"/test_all "$$@" \' >> $@
echo ' --data-dir "$(abs_srcdir)/data" \' >> $@
@echo '"$(abs_srcdir)"/test_all "$$@" \' >> $@
@echo ' --data-dir "$(abs_srcdir)/data" \' >> $@
# Before installation, some helpers are in the build tree, some in the src tree.
echo ' --helpers-dir "$(abs_top_builddir)/src/vfs/extfs/helpers" \' >> $@
echo ' --helpers-dir "$(abs_top_srcdir)/src/vfs/extfs/helpers"' >> $@
chmod +x $@
@echo ' --helpers-dir "$(abs_top_builddir)/src/vfs/extfs/helpers" \' >> $@
@echo ' --helpers-dir "$(abs_top_srcdir)/src/vfs/extfs/helpers"' >> $@
@chmod +x $@
# (We can alternatively create run from a run.in template
# with 'AC_CONFIG_FILES[run, chmod +x run]'.)