diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-11-24 21:38:19 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-11-24 21:38:19 +0200 |
commit | e53b55870dd3c4166ea6658ea679d608e500172a (patch) | |
tree | 9d3d6a979b8ce0b4782700e73d95ac2ca36b2a93 /mh/tests | |
parent | bd228fc3d1f40f0f230db1d066fb5a330a0c35a9 (diff) | |
download | mailutils-e53b55870dd3c4166ea6658ea679d608e500172a.tar.gz mailutils-e53b55870dd3c4166ea6658ea679d608e500172a.tar.bz2 |
mh: move format files to a separate directory.
* mh/etc: New directory.
* mh/Makefile.am: New file.
* mh/components: Move to mh/etc.
* mh/mailutils-mh.eli: Move to mh/etc.
* mh/mhl.format: Move to mh/etc.
* mh/mhl.forward: Move to mh/etc.
* mh/mhl.repl: Move to mh/etc.
* mh/mhl.usenet: Move to mh/etc.
* mh/replcomps: Move to mh/etc.
* mh/replgroupcomps: Move to mh/etc.
* configure.ac (AC_CONFIG_FILES): Add mh/etc/Makefile.
* mh/Makefile.am (SUBDIRS): Add etc.
Move mhlib_DATA and related statements to mh/etc/Makefile.am
* mh/comp.c (formfile): Remove const qualifier.
(opt_handler): Use mh_find_file to set formfile.
* mh/forw.c: Likewise.
* mh/mh_init.c (mh_find_file): Make sure *resolved_name is always
set to the last tried name.
* mh/tests/comp.at: Remove directory components from the -from argument.
* mh/tests/forw.at: Likewise.
* mh/tests/mhl.at: Likewise.
* mh/tests/testsuite.at (MH_SETUP): Change mhetcdir value.
Diffstat (limited to 'mh/tests')
-rw-r--r-- | mh/tests/comp.at | 2 | ||||
-rw-r--r-- | mh/tests/forw.at | 2 | ||||
-rw-r--r-- | mh/tests/mhl.at | 6 | ||||
-rw-r--r-- | mh/tests/testsuite.at | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/mh/tests/comp.at b/mh/tests/comp.at index ced3de91b..4ffa81b25 100644 --- a/mh/tests/comp.at +++ b/mh/tests/comp.at @@ -16,7 +16,7 @@ m4_pushdef([MH_KEYWORDS],[comp]) m4_pushdef([compcmd],[comp dnl --form $abs_top_srcdir/mh/components dnl +-form components dnl -editor $abs_top_srcdir/mh/tests/mhed]) MH_CHECK([comp -file],[comp00 comp-file],[ diff --git a/mh/tests/forw.at b/mh/tests/forw.at index 0411e8703..16c83da61 100644 --- a/mh/tests/forw.at +++ b/mh/tests/forw.at @@ -16,7 +16,7 @@ m4_pushdef([MH_KEYWORDS],[forw]) m4_pushdef([forwcmd],[forw dnl --form $abs_top_srcdir/mh/components dnl +-form components dnl -editor $abs_top_srcdir/mh/tests/mhed]) MH_CHECK([forw msg],[forw00 forw-msg],[ diff --git a/mh/tests/mhl.at b/mh/tests/mhl.at index f76aa9ba5..a498e2d51 100644 --- a/mh/tests/mhl.at +++ b/mh/tests/mhl.at @@ -18,7 +18,7 @@ m4_pushdef([MH_KEYWORDS],[mhl]) MH_CHECK([mhl],[mhl00],[ MUT_MBCOPY($abs_top_srcdir/testsuite/mh/teaparty,[Mail/inbox]) -mhl -form $abs_top_srcdir/mh/mhl.format Mail/inbox/2 +mhl -form mhl.format Mail/inbox/2 ], [0], [ -- using template mhl.format -- @@ -36,7 +36,7 @@ I don't see any wine MH_CHECK([mhl repl],[mhl01 mhl.repl],[ MUT_MBCOPY($abs_top_srcdir/testsuite/mh/teaparty,[Mail/inbox]) -mhl -form $abs_top_srcdir/mh/mhl.repl Mail/inbox/15 +mhl -form mhl.repl Mail/inbox/15 ], [0], [ @@ -47,7 +47,7 @@ mhl -form $abs_top_srcdir/mh/mhl.repl Mail/inbox/15 MH_CHECK([mhl usenet],[mhl02 mhl.usenet],[ MUT_MBCOPY($abs_top_srcdir/testsuite/mh/teaparty,[Mail/inbox]) -mhl -form $abs_top_srcdir/mh/mhl.usenet Mail/inbox/15 +mhl -form mhl.usenet Mail/inbox/15 ], [0], [ diff --git a/mh/tests/testsuite.at b/mh/tests/testsuite.at index 300f4af62..0b708f6c5 100644 --- a/mh/tests/testsuite.at +++ b/mh/tests/testsuite.at @@ -23,7 +23,7 @@ MH=$dir/mh_profile export MH cat > $MH <<EOT Path: $dir/Mail -mhetcdir: $abs_top_srcdir/mh +mhetcdir: $abs_top_srcdir/mh/etc EOT exec <&- ]) |