1 PACKAGE_STRING = "/src/vfs/extfs/helpers-list"
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 = \
25 data/lslR.1.spaces.args \
26 data/lslR.1.spaces.input \
27 data/lslR.1.spaces.output \
28 data/lslR.2.spaces-iso.args \
29 data/lslR.2.spaces-iso.input \
30 data/lslR.2.spaces-iso.output \
31 data/lslR.3.spaces-iso-noslash.args \
32 data/lslR.3.spaces-iso-noslash.input \
33 data/lslR.3.spaces-iso-noslash.output \
36 data/u7z.complex.env_vars \
37 data/u7z.complex.input \
38 data/u7z.complex.output \
39 data/u7z.missing-date.env_vars \
40 data/u7z.missing-date.input \
41 data/u7z.missing-date.output \
42 data/u7z.missing-size-and-date.env_vars \
43 data/u7z.missing-size-and-date.input \
44 data/u7z.missing-size-and-date.output \
45 data/u7z.simple.input \
46 data/u7z.simple.output \
51 data/urar.v4,v3.env_vars \
52 data/urar.v4,v3.input \
53 data/urar.v4,v3.output \
54 data/urar.v5.env_vars \
58 data/uzip.with-zipinfo.env_vars \
59 data/uzip.with-zipinfo.input \
60 data/uzip.with-zipinfo.output \
61 data/uzip.without-zipinfo--mdy.env_vars \
62 data/uzip.without-zipinfo--mdy.input \
63 data/uzip.without-zipinfo--mdy.output \
64 data/uzip.without-zipinfo--ymd.env_vars \
65 data/uzip.without-zipinfo--ymd.input \
66 data/uzip.without-zipinfo--ymd.output \
72 EXTRA_DIST = mc_xcat test_all $(data_files_to_distribute)
75 @echo '#!/bin/sh' > $@
77 @echo '# This script is an easy way to launch the "test_all" script' >> $@
78 @echo '# with all the required arguments.' >> $@
80 @echo '# Run this script with "--help" to learn more.' >> $@
82 @echo '# Where to find mc_parse_ls_l and mc_xcat, respectively.' >> $@
83 @echo 'PATH="$(abs_builddir):$(abs_srcdir):$$PATH"' >> $@
85 # The 'abs_' isn't mandatory. It lets you move this script out of the build tree.
86 @echo '"$(abs_srcdir)"/test_all "$$@" \' >> $@
87 @echo ' --data-dir "$(abs_srcdir)/data" \' >> $@
88 # Before installation, some helpers are in the build tree, some in the src tree.
89 @echo ' --helpers-dir "$(abs_top_builddir)/src/vfs/extfs/helpers" \' >> $@
90 @echo ' --helpers-dir "$(abs_top_srcdir)/src/vfs/extfs/helpers"' >> $@
92 # (We can alternatively create run from a run.in template
93 # with 'AC_CONFIG_FILES[run, chmod +x run]'.)
101 # (Thanks to VPATH we don't need to write "$(srcdir)/README". doc/hlp/Makefile.am needlessly does this.)
103 pandoc --include-in-header=$(srcdir)/README.css.inc -N --old-dashes --toc --standalone -o $@ $<
105 EXTRA_DIST += README.css.inc
106 CLEANFILES += README.html