1 PACKAGE_STRING = "/src/extfs-helpers-listcmd"
3 AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
5 # This lets mc_parse_ls_l.c override MC's message() without the linker
6 # complaining about multiple definitions.
7 AM_LDFLAGS = @TESTS_LDFLAGS@
9 LIBS = $(top_builddir)/lib/libmc.la
11 # Programs/scripts to build on 'make check'.
12 check_PROGRAMS = mc_parse_ls_l
15 # Tests to run on 'make check'
18 # On 'make clean', delete 'run' as well.
21 mc_parse_ls_l_SOURCES = \
24 data_files_to_distribute = \
27 EXTRA_DIST = mc_xcat test_all $(data_files_to_distribute)
32 echo '# This script is an easy way to launch the "test_all" script' >> $@
33 echo '# with all the required arguments.' >> $@
35 echo '# Run this script with "--help" to learn more.' >> $@
37 echo '# Where to find mc_parse_ls_l and mc_xcat, respectively.' >> $@
38 echo 'PATH="$(abs_builddir):$(abs_srcdir):$$PATH"' >> $@
40 # The 'abs_' isn't mandatory. It lets you move this script out of the build tree.
41 echo '"$(abs_srcdir)"/test_all "$$@" \' >> $@
42 echo ' --data-dir "$(abs_srcdir)/data" \' >> $@
43 # Before installation, some helpers are in the build tree, some in the src tree.
44 echo ' --helpers-dir "$(abs_top_builddir)/src/vfs/extfs/helpers" \' >> $@
45 echo ' --helpers-dir "$(abs_top_srcdir)/src/vfs/extfs/helpers"' >> $@
47 # (We can alternatively create run from a run.in template
48 # with 'AC_CONFIG_FILES[run, chmod +x run]'.)
56 # (Thanks to VPATH we don't need to write "$(srcdir)/README". doc/hlp/Makefile.am needlessly does this.)
58 pandoc --include-in-header=$(srcdir)/README.css.inc -N --old-dashes --toc --standalone -o $@ $<
60 EXTRA_DIST += README.css.inc
61 CLEANFILES += README.html