]> diplodocus.org Git - nmh/commitdiff
New locations for config files and support binaries, and smarter default for install...
authorLyndon Nerenberg <lyndon@orthanc.ca>
Sun, 5 Oct 2014 05:49:01 +0000 (22:49 -0700)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Sun, 5 Oct 2014 05:49:01 +0000 (22:49 -0700)
The default locations for config files and back-end executables has
changed.

Config files have moved from ${sysconfdir} to ${sysconfdir}/nmh, and
the back-end programs from ${libdir} to ${libexecdir}/nmh.

The only user-visible change is the addition of a new mhparam(1)
component 'libexecdir', which replaces the previous 'libdir'.  User
scripts invoking 'mhparam libdir' will need an update.  'libdir'
has been kept around for the time being, to give people a chance
to update their scripts.  It returns the same value as 'libexecdir'.
'libdir' has been marked deprecated in the mhparam(1) manpage and
the release notes; it will be removed in a couple of releases.

In conjunction with this change there was an opportunity to do a
bit of Makefile cleanup.  The old 'auxexec' construct has been
replaced with a new scheme that leverages automake's templating.
The auxexec_* references have been replaced with nmhlibexec_* forms,
and a corresponding nmhlibexecdir variable defined as ${libexecdir}/nmh.

Likewise, etcdir has been replaced with nmhetcdir.

These name changes have percolated downstream to some extent, primarily
in the man pages and test scripts.

Finally, configure has been made a bit smarter about setting the
default ${prefix}.  If it finds an existing nmh installation, it
will set the default ${prefix} to match, falling back to /usr/local/nmh.
configure looks for an existing installation by searching $PATH for
a viable mhparam binary.

79 files changed:
INSTALL
Makefile.am
config/config.c
configure.ac
docs/pending-release-notes
etc/sendfiles
man/ali.man
man/ap.man
man/comp.man
man/dist.man
man/dp.man
man/fmtdump.man
man/fmttest.man
man/forw.man
man/inc.man
man/install-mh.man
man/mh-alias.man
man/mh-mail.man
man/mh-mime.man
man/mh-mkstemp.man
man/mh-profile.man
man/mh-sequence.man
man/mh-tailor.man
man/mhbuild.man
man/mhfixmsg.man
man/mhl.man
man/mhlist.man
man/mhmail.man
man/mhparam.man
man/mhshow.man
man/mhstore.man
man/msgchk.man
man/new.man
man/next.man
man/nmh.man
man/packf.man
man/pick.man
man/post.man
man/prev.man
man/prompter.man
man/rcvdist.man
man/rcvpack.man
man/rcvstore.man
man/rcvtty.man
man/refile.man
man/repl.man
man/rmf.man
man/rmm.man
man/scan.man
man/send.man
man/sendfiles.man
man/show.man
man/slocal.man
man/sortm.man
man/whatnow.man
man/whom.man
test/common.sh.in
test/dist/test-dist
test/fakesendmail
test/format/test-dp
test/format/test-fmtdump
test/format/test-localmbox
test/format/test-myhost
test/format/test-mymbox
test/format/test-myname
test/format/test-rightjustify
test/inc/test-msgchk
test/mhl/test-mhl-flags
test/mhparam/test-mhparam
test/mkstemp/test-mkstemp
test/post/test-sendfiles
test/rcv/test-rcvdist
test/rcv/test-rcvpack
test/rcv/test-rcvstore
test/rcv/test-rcvtty
test/slocal/test-slocal
uip/mhmail
uip/mhparam.c
uip/spost.in

diff --git a/INSTALL b/INSTALL
index eb2971d30ce111d8e2b8debb031d5c004f1920d2..6ea100d8d8b0d9bc2bda8729206899053c213b24 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -184,11 +184,13 @@ Options for configure
 --bindir=DIR     (DEFAULT is ${prefix}/bin)
      nmh's binaries (show, inc, comp, ...) are installed here.
 
 --bindir=DIR     (DEFAULT is ${prefix}/bin)
      nmh's binaries (show, inc, comp, ...) are installed here.
 
---libdir=DIR     (DEFAULT is ${prefix}/lib)
-     nmh's support binaries (post, slocal, mhl, ...) are installed here.
+--libexecdir=DIR     (DEFAULT is ${prefix}/libexec)
+     nmh's support binaries (post, slocal, mhl, ...) are installed
+     in ${libexecdir}/nmh.
 
 --sysconfdir=DIR     (DEFAULT is ${prefix}/etc)
 
 --sysconfdir=DIR     (DEFAULT is ${prefix}/etc)
-     nmh's config files (mts.conf, mhn.defaults, ...) are installed here.
+     nmh's config files (mts.conf, mhn.defaults, ...) are installed
+     in ${sysconfdir}/nmh.
 
 --mandir=DIR     (DEFAULT is ${prefix}/man)
      nmh's man pages are installed here.
 
 --mandir=DIR     (DEFAULT is ${prefix}/man)
      nmh's man pages are installed here.
index e4209a58901719fc6cfcc08c4d91285e0580f3ba..7ffcf9b00e9c4275fc732355d32cc32f71b46316 100644 (file)
@@ -25,18 +25,18 @@ MHNSEARCHPATH = "$(PATH)"
 MHNSEARCHPROG = $(srcdir)/etc/mhn.find.sh
 
 ##
 MHNSEARCHPROG = $(srcdir)/etc/mhn.find.sh
 
 ##
-## Automake doesn't let us install programs in $(libdir), so we create our
-## own directory prefix to use in the primary variable.
+## Install config files and back-end programs in our own subdirecctories.
 ##
 ##
-auxexecdir = @libdir@
+nmhetcdir  = @sysconfdir@/nmh
+nmhlibexecdir = @libexecdir@/nmh
 
 ##
 ## nmh _does_ have a test suite!
 ##
 TESTS_ENVIRONMENT = MH_OBJ_DIR="@abs_builddir@" \
                    MH_TEST_DIR="@abs_builddir@/test/testdir" \
 
 ##
 ## nmh _does_ have a test suite!
 ##
 TESTS_ENVIRONMENT = MH_OBJ_DIR="@abs_builddir@" \
                    MH_TEST_DIR="@abs_builddir@/test/testdir" \
-                   auxexecdir="$(auxexecdir)" bindir="$(bindir)" \
-                   mandir="$(mandir)" sysconfdir="$(sysconfdir)" \
+                   nmhlibexecdir="$(nmhlibexecdir)" bindir="$(bindir)" \
+                   mandir="$(mandir)" nmhetcdir="$(nmhetcdir)" \
                    supported_locks="$(supported_locks)" \
                    default_locking="${default_locking}" \
                    MULTIBYTE_ENABLED=$(MULTIBYTE_ENABLED) \
                    supported_locks="$(supported_locks)" \
                    default_locking="${default_locking}" \
                    MULTIBYTE_ENABLED=$(MULTIBYTE_ENABLED) \
@@ -152,13 +152,13 @@ bin_PROGRAMS = uip/ali uip/anno uip/burst uip/comp uip/dist uip/flist \
 bin_SCRIPTS = uip/mhmail etc/sendfiles
 
 ##
 bin_SCRIPTS = uip/mhmail etc/sendfiles
 
 ##
-## This is all programs that get installed in the "lib" directory
+## This is all programs that get installed in the "libexec/nmh" directory
 ##
 ##
-auxexec_PROGRAMS = uip/ap uip/dp uip/fmtdump uip/mhl uip/mkstemp \
+nmhlibexec_PROGRAMS = uip/ap uip/dp uip/fmtdump uip/mhl uip/mkstemp \
                   uip/post uip/rcvdist uip/rcvpack uip/rcvstore uip/rcvtty \
                   uip/slocal uip/viamail
 
                   uip/post uip/rcvdist uip/rcvpack uip/rcvstore uip/rcvtty \
                   uip/slocal uip/viamail
 
-auxexec_SCRIPTS = uip/spost
+nmhlibexec_SCRIPTS = uip/spost
 
 ##
 ## Programs that MAY need to get built at some point; we need to list them
 
 ##
 ## Programs that MAY need to get built at some point; we need to list them
@@ -187,7 +187,7 @@ noinst_HEADERS = h/addrsbr.h h/aliasbr.h h/crawl_folders.h h/dropsbr.h \
 ##
 ## Extra files we need to install in various places
 ##
 ##
 ## Extra files we need to install in various places
 ##
-dist_sysconf_DATA = etc/MailAliases etc/components etc/digestcomps \
+dist_nmhetc_DATA = etc/MailAliases etc/components etc/digestcomps \
                    etc/distcomps etc/forwcomps etc/mhl.body etc/mhl.digest \
                    etc/mhl.format etc/mhl.forward etc/mhl.headers \
                    etc/mhl.reply etc/mhshow.marker etc/rcvdistcomps \
                    etc/distcomps etc/forwcomps etc/mhl.body etc/mhl.digest \
                    etc/mhl.format etc/mhl.forward etc/mhl.headers \
                    etc/mhl.reply etc/mhshow.marker etc/rcvdistcomps \
@@ -202,7 +202,7 @@ dist_sysconf_DATA = etc/MailAliases etc/components etc/digestcomps \
 ## The same as above, but we don't include these in the distribution
 ## (because they're generated at compile time)
 ##
 ## The same as above, but we don't include these in the distribution
 ## (because they're generated at compile time)
 ##
-sysconf_DATA = etc/mhn.defaults etc/mts.conf
+nmhetc_DATA = etc/mhn.defaults etc/mts.conf
 
 ##
 ## Documentation that gets installed in docdir
 
 ##
 ## Documentation that gets installed in docdir
@@ -410,7 +410,7 @@ uip_whom_SOURCES = uip/whom.c uip/distsbr.c
 uip_whom_LDADD = $(LDADD) $(POSTLINK)
 
 ##
 uip_whom_LDADD = $(LDADD) $(POSTLINK)
 
 ##
-## Programs definitions for all utilities that end up in $(libdir)
+## Programs definitions for all utilities that end up in $(nmhlibexecdir)
 ##
 
 uip_ap_SOURCES = uip/ap.c
 ##
 
 uip_ap_SOURCES = uip/ap.c
@@ -596,10 +596,10 @@ sbr_libmh_a_SOURCES = sbr/addrsbr.c sbr/ambigsw.c sbr/atooi.c sbr/arglist.c \
 
 config/sbr_libmh_a-config.$(OBJEXT) sbr/sbr_libmh_a-mts.$(OBJEXT): Makefile
 
 
 config/sbr_libmh_a-config.$(OBJEXT) sbr/sbr_libmh_a-mts.$(OBJEXT): Makefile
 
-sbr_libmh_a_CPPFLAGS = -I./sbr -DNMHETCDIR='"$(sysconfdir)"' \
+sbr_libmh_a_CPPFLAGS = -I./sbr -DNMHETCDIR='"$(nmhetcdir)"' \
                -DMAILSPOOL='"$(mailspool)"' \
                -DSENDMAILPATH='"$(sendmailpath)"' -DNMHBINDIR='"$(bindir)"' \
                -DMAILSPOOL='"$(mailspool)"' \
                -DSENDMAILPATH='"$(sendmailpath)"' -DNMHBINDIR='"$(bindir)"' \
-               -DNMHLIBDIR='"$(libdir)"'
+               -DNMHLIBEXECDIR='"$(nmhlibexecdir)"'
 
 mts_libmts_a_SOURCES = mts/smtp/smtp.c
 
 
 mts_libmts_a_SOURCES = mts/smtp/smtp.c
 
@@ -617,10 +617,10 @@ $(man_MANS): man/man.sed
 man/man.sed: Makefile
        @echo 's,%nmhwarning%,THIS FILE HAS BEEN AUTOMATICALLY GENERATED.  DO NOT EDIT.,g' > $@
        @echo 's,%nmhversion%,nmh-$(VERSION),g' >> $@
 man/man.sed: Makefile
        @echo 's,%nmhwarning%,THIS FILE HAS BEEN AUTOMATICALLY GENERATED.  DO NOT EDIT.,g' > $@
        @echo 's,%nmhversion%,nmh-$(VERSION),g' >> $@
+       @echo 's,%nmhetcdir%,$(nmhetcdir),g' >> $@
+       @echo 's,%nmhlibexecdir%,$(nmhlibexecdir),g' >> $@
        @echo 's,%bindir%,$(bindir),g' >> $@
        @echo 's,%docdir%,$(docdir),g' >> $@
        @echo 's,%bindir%,$(bindir),g' >> $@
        @echo 's,%docdir%,$(docdir),g' >> $@
-       @echo 's,%etcdir%,$(sysconfdir),g' >> $@
-       @echo 's,%libdir%,$(libdir),g' >> $@
        @echo 's,%mandir%,$(mandir),g' >> $@
        @echo 's,%mailspool%,$(mailspool),g' >> $@
        @echo 's,%sendmailpath%,$(sendmailpath),g' >> $@
        @echo 's,%mandir%,$(mandir),g' >> $@
        @echo 's,%mailspool%,$(mailspool),g' >> $@
        @echo 's,%sendmailpath%,$(sendmailpath),g' >> $@
index 3971d528e52774a1af7020490b38a05720d191ce..a5cdfd9b82353dcc8178b5753d447d8c0ef0cc61 100644 (file)
@@ -12,7 +12,7 @@
 
 #define nmhbindir(file) NMHBINDIR#file
 #define nmhetcdir(file) NMHETCDIR#file
 
 #define nmhbindir(file) NMHBINDIR#file
 #define nmhetcdir(file) NMHETCDIR#file
-#define nmhlibdir(file) NMHLIBDIR#file
+#define nmhlibexecdir(file) NMHLIBEXECDIR#file
 
 
 /*
 
 
 /*
@@ -143,7 +143,7 @@ char *nmhaccessftp = "nmh-access-ftp";
 /* profile entry for external url access command */
 char *nmhaccessurl = "nmh-access-url";
 
 /* profile entry for external url access command */
 char *nmhaccessurl = "nmh-access-url";
 
-char *mhlibdir = NMHLIBDIR;
+char *mhlibexecdir = NMHLIBEXECDIR;
 char *mhetcdir = NMHETCDIR;
 
 /* 
 char *mhetcdir = NMHETCDIR;
 
 /* 
@@ -239,7 +239,7 @@ char *moreproc = NULL;
  * for "Bcc:" recipients.
  */
 
  * for "Bcc:" recipients.
  */
 
-char *mhlproc = nmhlibdir (/mhl);
+char *mhlproc = nmhlibexecdir (/mhl);
 
 /* 
  * This is the super handy BBoard reading program, which is
 
 /* 
  * This is the super handy BBoard reading program, which is
@@ -259,14 +259,14 @@ char *packproc = nmhbindir (/packf);
  * deliver mail to users.  This is the interface to the MTS.
  */
 
  * deliver mail to users.  This is the interface to the MTS.
  */
 
-char *postproc = nmhlibdir (/post);
+char *postproc = nmhlibexecdir (/post);
 
 /*
  * This is program is called by slocal to handle
  * the action `folder' or `+'.
  */
 
 
 /*
  * This is program is called by slocal to handle
  * the action `folder' or `+'.
  */
 
-char *rcvstoreproc = nmhlibdir (/rcvstore);
+char *rcvstoreproc = nmhlibexecdir (/rcvstore);
 
 /* 
  * This program is called to remove a message by rmm or refile -nolink.
 
 /* 
  * This program is called to remove a message by rmm or refile -nolink.
@@ -296,7 +296,7 @@ char *showmimeproc = nmhbindir (/mhshow);
  * that such message not be filtered in any way.
  */
 
  * that such message not be filtered in any way.
  */
 
-char *showproc = nmhlibdir (/mhl);
+char *showproc = nmhlibexecdir (/mhl);
 
 /* 
  * This program is called by vmh as the back-end to the window management
 
 /* 
  * This program is called by vmh as the back-end to the window management
index 88f7e65d442bd1bbe64399454b205a41e20189b8..e0a96f5db13f2187ebe0c1adf2cd4ce4d716ac04 100644 (file)
@@ -74,10 +74,12 @@ AS_IF([test -n "$with_smtpservers"], [smtpservers="$with_smtpservers"],
       [smtpservers="localhost"])
 AC_SUBST([smtpservers])dnl
 
       [smtpservers="localhost"])
 AC_SUBST([smtpservers])dnl
 
-dnl ----------------------------------------------------
-dnl Default location is /usr/local/nmh/{bin,etc,lib,man}
-dnl ----------------------------------------------------
+dnl -------------------------------------------------------------------
+dnl Default location is /usr/local/nmh/{bin,etc,libexec,man}, unless we
+dnl find an existing installation, in which case we use its location.
+dnl -------------------------------------------------------------------
 AC_PREFIX_DEFAULT([/usr/local/nmh])
 AC_PREFIX_DEFAULT([/usr/local/nmh])
+AC_PREFIX_PROGRAM([mhparam])
 
 dnl ------------------
 dnl CHECK THE COMPILER
 
 dnl ------------------
 dnl CHECK THE COMPILER
@@ -563,7 +565,7 @@ dnl the final summary and should use them nowhere else (see the autoconf
 dnl docs for the rationale for bindir etc being unexpanded).
 eval "nmhbin=${bindir}";         eval "nmhbin=${nmhbin}"
 eval "nmhsysconf=${sysconfdir}"; eval "nmhsysconf=${nmhsysconf}"
 dnl docs for the rationale for bindir etc being unexpanded).
 eval "nmhbin=${bindir}";         eval "nmhbin=${nmhbin}"
 eval "nmhsysconf=${sysconfdir}"; eval "nmhsysconf=${nmhsysconf}"
-eval "nmhlib=${libdir}";         eval "nmhlib=${nmhlib}"
+eval "nmhlibexec=${libexecdir}"; eval "nmhlibexec=${nmhlibexec}"
 eval "nmhman=${mandir}";         eval "nmhman=${nmhman}"
 eval "nmhrpm=${nmhrpm}";
 
 eval "nmhman=${mandir}";         eval "nmhman=${nmhman}"
 eval "nmhrpm=${nmhrpm}";
 
@@ -578,8 +580,8 @@ linker flags               : ${LDFLAGS}
 preprocessor flags         : ${CPPFLAGS}
 source code location       : ${srcdir}
 binary install path        : ${nmhbin}
 preprocessor flags         : ${CPPFLAGS}
 source code location       : ${srcdir}
 binary install path        : ${nmhbin}
-library install path       : ${nmhlib}
-config files install path  : ${nmhsysconf}
+libexec install path       : ${nmhlibexec}/nmh
+config files install path  : ${nmhsysconf}/nmh
 man page install path      : ${nmhman}
 RPM build root             : ${nmhrpm}
 backup prefix              : ${backup_prefix}
 man page install path      : ${nmhman}
 RPM build root             : ${nmhrpm}
 backup prefix              : ${backup_prefix}
index ba30e59114e9e11bc750ef18a4aca7405a8f6801..07c073ab8347db42c941abcc269177029aaacc77 100644 (file)
@@ -15,6 +15,15 @@ NEW FEATURES
 - An "rtrim" flag has been added to mhl to remove any trailing
   whitespace from filtered text lines.  A corresponding "nortrim" flag
   has also been added.
 - An "rtrim" flag has been added to mhl to remove any trailing
   whitespace from filtered text lines.  A corresponding "nortrim" flag
   has also been added.
+- The default locations for configuration files and suppoooort binaries
+  have been changed.  Configuration files now install into ${sysconfdir}/nmh,
+  and support binaries are placed in ${libexecdir}/nmh.  If you are upgrading
+  an existing installation you should look for old configuration files in
+  ${sysconfdir} and merge any local customizations into the new files in
+  ${sysconfdir}/nmh, then remove the old files.  ${libdir} will also contain
+  obsolete support programs that should be removed.
+- When building from source, configure will derive ${prefix} from an existing
+  nmh installation if it finds one in your $PATH.
 
 -----------------
 OBSOLETE FEATURES
 
 -----------------
 OBSOLETE FEATURES
@@ -34,6 +43,9 @@ DEPRECATED FEATURES
 
 - Support for the MHPDEBUG environment variable is deprecated and will be
   removed from a future nmh release.  Instead, use the -debug switch to pick.
 
 - Support for the MHPDEBUG environment variable is deprecated and will be
   removed from a future nmh release.  Instead, use the -debug switch to pick.
+- With the move of support binaries from ${libdir} to ${libexecdir}/nmh, the
+  mostly undocumented 'libdir' mhparam(1) component has been replaced by a
+  new 'libexecdir' component.  'libdir' will be removed in a future release.
 
 ---------
 BUG FIXES
 
 ---------
 BUG FIXES
index 99c170e0095577ae9e4a01844cbe631c20795a62..85e8a49ae5c07e15c4b4c85d23b1f6053adc4488 100755 (executable)
@@ -38,7 +38,7 @@ die() {
 
 bindir=`finddir $0`
 nmhbindir=`cd "$bindir" && pwd`
 
 bindir=`finddir $0`
 nmhbindir=`cd "$bindir" && pwd`
-nmhlibdir=`$nmhbindir/mhparam libdir`
+nmhlibexecdir=`$nmhbindir/mhparam libexecdir`
 
 
 #### Process switches.
 
 
 #### Process switches.
@@ -67,7 +67,7 @@ for arg in "$@"; do
     -s|-su|-sub|-subj|-subje|-subjec|-subject) subjectarg=1 ;;
     -t|-to) toarg=1 ;;
     -v|-ve|-ver|-vers|-versi|-versio|-version)
     -s|-su|-sub|-subj|-subje|-subjec|-subject) subjectarg=1 ;;
     -t|-to) toarg=1 ;;
     -v|-ve|-ver|-vers|-versi|-versio|-version)
-       "$nmhlibdir/viamail" -version | sed 's/viamail/sendfiles/'; exit ;;
+       "$nmhlibexecdir/viamail" -version | sed 's/viamail/sendfiles/'; exit ;;
     -*) die ;;
     *) if [ $compressarg -eq 1 ]; then
          compress="$arg"
     -*) die ;;
     *) if [ $compressarg -eq 1 ]; then
          compress="$arg"
@@ -136,7 +136,7 @@ checkforargs
 
 if [ x"$from" = x ]; then
   if [ x"$PERSON" = x ]; then
 
 if [ x"$from" = x ]; then
   if [ x"$PERSON" = x ]; then
-    from=`"$nmhlibdir/ap" -format '%(localmbox)' 0`
+    from=`"$nmhlibexecdir/ap" -format '%(localmbox)' 0`
   else
     from="$PERSON"
   fi
   else
     from="$PERSON"
   fi
@@ -170,7 +170,7 @@ esac
 
 #### Send using viamail.
 tar cvf - "$@" | $compress | \
 
 #### Send using viamail.
 tar cvf - "$@" | $compress | \
-    "$nmhlibdir/viamail" -to "$to" -subject "$subject" \
+    "$nmhlibexecdir/viamail" -to "$to" -subject "$subject" \
         -from "$from" -parameters "type=tar$conversion" \
         -comment "extract with $uncompress | tar xvpf -" \
         -delay "$delay" -verbose
         -from "$from" -parameters "type=tar$conversion" \
         -comment "extract with $uncompress | tar xvpf -" \
         -delay "$delay" -verbose
index b50e444602ae3c6f91194e8956c7b72747df6def..791adc8dfac4f33d0dad8faff5b625a40f4a17eb 100644 (file)
@@ -62,7 +62,7 @@ then it's accessed directly; otherwise tilde expansion is done on
 usernames, then files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
 usernames, then files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .PP
 .TP 20
 is checked.
 .PP
 .TP 20
@@ -84,7 +84,7 @@ For a default alias file
 .PD 0
 .TP 20
 aliasfile
 .PD 0
 .TP 20
 aliasfile
-%etcdir%/MailAliases
+%nmhetcdir%/MailAliases
 .TP
 \-nolist
 .TP
 .TP
 \-nolist
 .TP
index 4e0b4f1c7545a08f8374225307367183b5bb46e7..375a4fa1aa88f7d5e0cd5078784c1773ab4b0e06 100644 (file)
@@ -7,7 +7,7 @@ ap \- parse addresses RFC 822-style
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/ap
+.B %nmhlibexecdir%/ap
 .RB [ \-form
 .IR formatfile ]
 .RB [ \-format
 .RB [ \-form
 .IR formatfile ]
 .RB [ \-format
@@ -75,7 +75,7 @@ the address.
 $HOME/\&.mh\(ruprofile
 The user's profile.
 .TP
 $HOME/\&.mh\(ruprofile
 The user's profile.
 .TP
-%etcdir%/mts.conf
+%nmhetcdir%/mts.conf
 The mts configuration file.
 .PD
 .SH "PROFILE COMPONENTS"
 The mts configuration file.
 .PD
 .SH "PROFILE COMPONENTS"
index d0e8606613aee7c1d9b79084fd1198a21f4c3288..225c8eb0e7167f292f7bc734a54dd16205294559 100644 (file)
@@ -244,7 +244,7 @@ No mail is actually sent.
 .SH FILES
 .PD 0
 .TP 20
 .SH FILES
 .PD 0
 .TP 20
-%etcdir%/components
+%nmhetcdir%/components
 The standard message skeleton.
 .TP
 <mh\-dir>/components
 The standard message skeleton.
 .TP
 <mh\-dir>/components
index 4675b2c5e4872ca4e1e4945d7094b28bd5ae3d13..d8beb2b5c73919d55c159ccb71e43f6b8fe54640 100644 (file)
@@ -210,8 +210,8 @@ will prevent any edit from occurring.)
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/distcomps~^The standard message skeleton
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/distcomps~^The standard message skeleton
 ^or <mh\-dir>/distcomps~^Rather than the standard skeleton
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/draft~^The draft file
 ^or <mh\-dir>/distcomps~^Rather than the standard skeleton
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/draft~^The draft file
index a90028e5caf7ed4c83870400e7281dbe08a4c117..f3a3dfdd5d4cddaa7f275215380f3df82c89d427 100644 (file)
@@ -7,7 +7,7 @@ dp \- parse dates RFC 822-style
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/dp
+.B %nmhlibexecdir%/dp
 .RB [ \-form
 .IR formatfile ]
 .RB [ \-format
 .RB [ \-form
 .IR formatfile ]
 .RB [ \-format
index 9345d641f4def8d78fdc08d78bd0d37ab07be9dd..a897a7e83d5fc6b6f333b8e7a56759ac4cbd1f06 100644 (file)
@@ -7,7 +7,7 @@ fmtdump \- decode nmh format files
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/fmtdump
+.B %nmhlibexecdir%/fmtdump
 .RB [ \-form
 .IR formatfile ]
 .RB [ \-format
 .RB [ \-form
 .IR formatfile ]
 .RB [ \-format
@@ -41,7 +41,7 @@ for the details.
 $HOME/.mh_profile
 The user's profile.
 .TP
 $HOME/.mh_profile
 The user's profile.
 .TP
-%etcdir%/scan.default
+%nmhetcdir%/scan.default
 The default format file.
 .PD
 .SH "PROFILE COMPONENTS"
 The default format file.
 .PD
 .SH "PROFILE COMPONENTS"
index a8f145bba7214dd137690ca06631776e662fce35..e92586af535d5858a5851b3730e73a79982f2da9 100644 (file)
@@ -69,7 +69,7 @@ rules: absolute pathnames are accessed directly, tilde expansion is
 done on usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
 done on usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .SS MODE SELECTION AND COMPONENT SPECIFICATION
 .B Fmttest
 is checked.
 .SS MODE SELECTION AND COMPONENT SPECIFICATION
 .B Fmttest
index 362fadea35eace266cfd54c3444bdce95fba0cf7..13ccfdb8a3043741f1838e0dedc766738991d504 100644 (file)
@@ -386,18 +386,18 @@ pathnames are accessed directly, tilde expansion is done on usernames,
 and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
 and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .PP
 .PD 0
 .TP 25
 is checked.
 .PP
 .PD 0
 .TP 25
-%etcdir%/forwcomps
+%nmhetcdir%/forwcomps
 The standard message skeleton.
 .TP
 <mh\-dir>/forwcomps
 Rather than the standard skeleton.
 .TP
 The standard message skeleton.
 .TP
 <mh\-dir>/forwcomps
 Rather than the standard skeleton.
 .TP
-%etcdir%/digestcomps
+%nmhetcdir%/digestcomps
 The message skeleton if
 .B \-digest
 is given.
 The message skeleton if
 .B \-digest
 is given.
@@ -405,7 +405,7 @@ is given.
 <mh\-dir>/digestcomps
 Rather than the standard skeleton.
 .TP
 <mh\-dir>/digestcomps
 Rather than the standard skeleton.
 .TP
-^%etcdir%/mhl.forward
+^%nmhetcdir%/mhl.forward
 The standard message filter.
 .TP
 <mh\-dir>/mhl.forward
 The standard message filter.
 .TP
 <mh\-dir>/mhl.forward
index 9b7068c90b27f42f3a5f86fca4e02f2879be9ad4..61f6f8442ae4baa1d075c992f68975bf5e8079e1 100644 (file)
@@ -270,7 +270,7 @@ switch.
 $HOME/.mh_profile
 The user's profile.
 .TP
 $HOME/.mh_profile
 The user's profile.
 .TP
-%etcdir%/mts.conf
+%nmhetcdir%/mts.conf
 mts configuration file.
 .TP
 %mailspool%/$USER
 mts configuration file.
 .TP
 %mailspool%/$USER
index 725ea1f206e3a4d57803e9d18b015a1e5a594399..4fd87f1baee449071f4d1bf0a7eefbbbc15122cd 100644 (file)
@@ -7,7 +7,7 @@ install-mh \- initialize the nmh environment
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/install\-mh
+.B %nmhlibexecdir%/install\-mh
 .RB [ \-auto ]
 .RB [ \-check ]
 .RB [ \-version ]
 .RB [ \-auto ]
 .RB [ \-check ]
 .RB [ \-version ]
@@ -58,7 +58,7 @@ When creating the users initial
 .IR \&.mh\(ruprofile ,
 .B install\-mh
 will check for the existence of a global profile
 .IR \&.mh\(ruprofile ,
 .B install\-mh
 will check for the existence of a global profile
-.IR %etcdir%/mh.profile .
+.IR %nmhetcdir%/mh.profile .
 If found, this will be used to initialize the new
 .IR \&.mh\(ruprofile .
 .PP
 If found, this will be used to initialize the new
 .IR \&.mh\(ruprofile .
 .PP
@@ -72,7 +72,7 @@ been installed without their having to know the internals of nmh.
 $HOME/.mh_profile
 The user's profile.
 .TP
 $HOME/.mh_profile
 The user's profile.
 .TP
-%etcdir%/mh.profile
+%nmhetcdir%/mh.profile
 Used to initialize user's profile.
 .PD
 .SH "PROFILE COMPONENTS"
 Used to initialize user's profile.
 .PD
 .SH "PROFILE COMPONENTS"
index ad047c317e36449122d39f7b27f1ec83bfa1ea6f..7ebbf0f8ef6770e064bca4250a71459bf535c0da 100644 (file)
@@ -127,7 +127,7 @@ Example Alias File
 .PP
 .RS 5
 .nf
 .PP
 .RS 5
 .nf
-<%etcdir%/BBoardAliases
+<%nmhetcdir%/BBoardAliases
 fred: frated@UCI.example
 sgroup: fred, fear, freida
 b-people: Blind List: bill, betty
 fred: frated@UCI.example
 sgroup: fred, fear, freida
 b-people: Blind List: bill, betty
@@ -140,7 +140,7 @@ news.*: news
 .PP
 The first line says that more aliases should immediately be read from
 the file
 .PP
 The first line says that more aliases should immediately be read from
 the file
-.BR %etcdir%/BBoardAliases .
+.BR %nmhetcdir%/BBoardAliases .
 Following this, \*(lqfred\*(rq
 is defined as an alias for \*(lqfrated@UCI.example\*(rq, and \*(lqsgroup\*(rq
 is defined as an alias for the three names \*(lqfrated@UCI.example\*(rq,
 Following this, \*(lqfred\*(rq
 is defined as an alias for \*(lqfrated@UCI.example\*(rq, and \*(lqsgroup\*(rq
 is defined as an alias for the three names \*(lqfrated@UCI.example\*(rq,
@@ -173,7 +173,7 @@ Aliasfile:
 Default alias file.
 .SH FILES
 .TP 20
 Default alias file.
 .SH FILES
 .TP 20
-%etcdir%/MailAliases
+%nmhetcdir%/MailAliases
 System-wide default alias file.
 .SH "SEE ALSO"
 .IR ali (1),
 System-wide default alias file.
 .SH "SEE ALSO"
 .IR ali (1),
index b14c8101afb9cc50f20992bead388deaed680c21..c317ffd97c18de4c683074c707a606075ae9df83 100644 (file)
@@ -309,7 +309,7 @@ for more information.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^%mailspool%/$USER~^Location of mail drop
 .fi
 .SH "SEE ALSO"
 ^%mailspool%/$USER~^Location of mail drop
 .fi
 .SH "SEE ALSO"
index 7be11bb9fcd42088a2f8dd09468b2e5325aeb689..51f0607c38a82abf39bd18ac672b8ee61ac49ed6 100644 (file)
@@ -49,7 +49,7 @@ will automatically decode MIME-encoded headers.  If you have a custom
 format, see the examples provided with the
 .B nmh
 distribution (found in the
 format, see the examples provided with the
 .B nmh
 distribution (found in the
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 directory) and
 .IR mh\-format (5)
 for details on how to make sure your MIME headers are properly
 directory) and
 .IR mh\-format (5)
 for details on how to make sure your MIME headers are properly
index a3df583681bb74da334585b2ffc5c9eb7c200212..a7eceb7bd1733ce6453db1eaf6e5cee18210ad5e 100644 (file)
@@ -7,7 +7,7 @@ mkstemp \- create a temporary file
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/mkstemp
+.B %nmhlibexecdir%/mkstemp
 .RB [ \-directory
 .IR directory ]
 .RB [ \-prefix
 .RB [ \-directory
 .IR directory ]
 .RB [ \-prefix
index 2c1b3d7a929cc97d54dd5e8de8a93b1818e76648..81e2ccbea9513287460d53873085929a6389e411 100644 (file)
@@ -545,7 +545,7 @@ It is used to retrieve an external-body with access-type `mail-server'
 .RE
 .PP
 .BR mhlproc :
 .RE
 .PP
 .BR mhlproc :
-%libdir%/mhl
+%nmhlibexecdir%/mhl
 .RS 5
 This is the program used to filter messages in various ways.  It
 is used by
 .RS 5
 This is the program used to filter messages in various ways.  It
 is used by
@@ -597,7 +597,7 @@ Currently not used.
 .RE
 .PP
 .BR postproc :
 .RE
 .PP
 .BR postproc :
-%libdir%/post
+%nmhlibexecdir%/post
 .RS 5
 This is the program used by
 .BR send ,
 .RS 5
 This is the program used by
 .BR send ,
@@ -645,7 +645,7 @@ to process and display non-text (MIME) messages.
 .RE
 .PP
 .BR showproc :
 .RE
 .PP
 .BR showproc :
-%libdir%/mhl
+%nmhlibexecdir%/mhl
 .RS 5
 This is the program used by
 .B show
 .RS 5
 This is the program used by
 .B show
@@ -675,7 +675,7 @@ to determine to whom a message would be sent.
 After consulting .mh_profile,
 some programs read an optional profile specified by a
 program-specific environment variable,
 After consulting .mh_profile,
 some programs read an optional profile specified by a
 program-specific environment variable,
-and then the system-wide profile %etcdir%/mhn.defaults.
+and then the system-wide profile %nmhetcdir%/mhn.defaults.
 These programs are mhbuild, mhshow, mhstore, and mhn.
 mhfixmsg is similar, but has no optional profile.
 
 These programs are mhbuild, mhshow, mhstore, and mhn.
 mhfixmsg is similar, but has no optional profile.
 
@@ -1035,7 +1035,7 @@ if annotations are to occur.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^or $MH~^Rather than the standard profile
 ^<mh\-dir>/context~^The user context
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^or $MH~^Rather than the standard profile
 ^<mh\-dir>/context~^The user context
index 0f876e97dfd9aa7f84f1c44c89fdcf10bc5085ed..ef82acfac33df8293fb7581bf6df06f12687cd8c 100644 (file)
@@ -322,7 +322,7 @@ one command's messages not appearing on the requested sequence.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/context~^The user context
 ^<folder>/\&.mh\(rusequences~^File for public sequences
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/context~^The user context
 ^<folder>/\&.mh\(rusequences~^File for public sequences
index 38154acdd8d10502ebb50b80190396676d2188d6..4b2362ff6c78f294a73e90a4d1bacd9aa1e25680 100644 (file)
@@ -6,7 +6,7 @@
 mh-tailor, mts.conf \- mail transport configuration for nmh message handler
 .SH DESCRIPTION
 The file
 mh-tailor, mts.conf \- mail transport configuration for nmh message handler
 .SH DESCRIPTION
 The file
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 defines run-time options for those
 .B nmh
 programs which interact (in some form) with the message transport system.
 defines run-time options for those
 .B nmh
 programs which interact (in some form) with the message transport system.
@@ -194,7 +194,7 @@ the following:
 .RE
 .PP
 .BR maildelivery :
 .RE
 .PP
 .BR maildelivery :
-%libdir%/maildelivery
+%nmhlibexecdir%/maildelivery
 .RS 5
 The name of the system-wide default
 .I maildelivery
 .RS 5
 The name of the system-wide default
 .I maildelivery
@@ -266,7 +266,7 @@ the named POP service host is consulted.
 .\"  .RE
 .\"  .PP
 .\"  .BR popbblist :
 .\"  .RE
 .\"  .PP
 .\"  .BR popbblist :
-.\"  %etcdir%/hosts.popbb
+.\"  %nmhetcdir%/hosts.popbb
 .\"  .RS 5
 .\"  A file containing of lists of hosts that are allowed to use the POP
 .\"  facility to access BBoards using the guest account.  If this file is not
 .\"  .RS 5
 .\"  A file containing of lists of hosts that are allowed to use the POP
 .\"  facility to access BBoards using the guest account.  If this file is not
@@ -315,8 +315,8 @@ your site, and set the appropriate values.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mts.conf~^nmh mts configuration file
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
 .fi
 .SH "PROFILE COMPONENTS"
 None
 .fi
 .SH "PROFILE COMPONENTS"
 None
index a69ae7bdf866622149a45646da9059f75bd26d23..4b261f33def3d05d61551ca2901f9d8d7ac6d1b4 100644 (file)
@@ -664,7 +664,7 @@ Finally,
 will attempt to consult
 .PP
 .RS 5
 will attempt to consult
 .PP
 .RS 5
-%etcdir%/mhn.defaults
+%nmhetcdir%/mhn.defaults
 .RE
 .PP
 if it exists.
 .RE
 .PP
 if it exists.
@@ -748,15 +748,15 @@ locations: absolute pathnames are accessed directly, tilde expansion
 is done on usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
 is done on usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .PP
 .fc ^ ~
 .nf
 is checked.
 .PP
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^$MHBUILD~^Additional profile entries
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^$MHBUILD~^Additional profile entries
-^%etcdir%/mhn.defaults~^System default MIME profile entries
+^%nmhetcdir%/mhn.defaults~^System default MIME profile entries
 .fi
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
 .fi
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
index b817220f6e167e4035484e0da0adc08eb588bbc0..81d069bab20112d05d009abbc972d2b441ab2d6d 100644 (file)
@@ -120,7 +120,7 @@ uses its mhshow-show-text/subtype entries.  When
 .B nmh
 is installed, it searches for a conversion program for text/html
 content, and if one is found, inserts a mhfixmsg-format-text/html
 .B nmh
 is installed, it searches for a conversion program for text/html
 content, and if one is found, inserts a mhfixmsg-format-text/html
-entry in %etcdir%/mhn.defaults.  An entry of the same name in the
+entry in %nmhetcdir%/mhn.defaults.  An entry of the same name in the
 user's profile takes precedence.  The user can add entries for
 other text subtypes to their profile.
 .PP
 user's profile takes precedence.  The user can add entries for
 other text subtypes to their profile.
 .PP
@@ -208,7 +208,7 @@ to add a single transformed message to a different folder, e.g.,
 .RS 5
 mhfixmsg -outfile - | \\
 .RS 0
 .RS 5
 mhfixmsg -outfile - | \\
 .RS 0
-%libdir%/rcvstore +folder
+%nmhlibexecdir%/rcvstore +folder
 .RE
 .RE
 .SS Summary of Applicability
 .RE
 .RE
 .SS Summary of Applicability
@@ -290,7 +290,7 @@ MAILDIR = `mhparam path`
 #### The Backups directory is relative to MAILDIR.
 MKSTEMP = 'mkstemp -directory Backups -prefix mhfixmsg'
 MHFIXMSG = 'mhfixmsg -noverbose -file - -outfile -'
 #### The Backups directory is relative to MAILDIR.
 MKSTEMP = 'mkstemp -directory Backups -prefix mhfixmsg'
 MHFIXMSG = 'mhfixmsg -noverbose -file - -outfile -'
-STORE = %libdir%/rcvstore
+STORE = %nmhlibexecdir%/rcvstore
 
 :0 w: nmh-workers/procmail.$LOCKEXT
 * ^TOnmh-workers@nongnu.org
 
 :0 w: nmh-workers/procmail.$LOCKEXT
 * ^TOnmh-workers@nongnu.org
@@ -305,14 +305,14 @@ accessed directly, tilde expansion is done on usernames, and files are
 searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
 searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .PP
 .fc ^ ~
 .nf
 is checked.
 .PP
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/mhn.defaults  'u
+.ta \w'%nmhetcdir%/mhn.defaults  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^$HOME/\&.mh\(ruprofile~^The user profile
-^%etcdir%/mhn.defaults~^Default mhfixmsg conversion entries
+^%nmhetcdir%/mhn.defaults~^Default mhfixmsg conversion entries
 .fi
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
 .fi
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
index 38e1364994de1f4d2859acac3aa9f27bb5dff0c8..8d1d5a3b38b3ea1f92e029b8d835e206cd2bdfef 100644 (file)
@@ -7,7 +7,7 @@ mhl \- produce formatted listings of nmh messages
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/mhl
+.B %nmhlibexecdir%/mhl
 .RB [ \-bell " | " \-nobell ]
 .RB [ \-clear " | " \-noclear ]
 .RB [ \-folder
 .RB [ \-bell " | " \-nobell ]
 .RB [ \-clear " | " \-noclear ]
 .RB [ \-folder
@@ -129,7 +129,7 @@ is called
 will first search for this file in the user's
 .B nmh
 directory, and will then search in the directory
 will first search for this file in the user's
 .B nmh
 directory, and will then search in the directory
-.IR %etcdir% .
+.IR %nmhetcdir% .
 This default
 can be changed by using the
 .B \-form
 This default
 can be changed by using the
 .B \-form
@@ -364,8 +364,8 @@ options can be used to build up multiple arguments to the format filter.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mhl.format~^The message template
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/mhl.format~^The message template
 ^or <mh\-dir>/mhl.format~^Rather than the standard template
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 ^or <mh\-dir>/mhl.format~^Rather than the standard template
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
index 4ed458307ff8c93969bda2f1fa9f595a601533e8..a75e50d82384e0b4b7b068b573349b97347ac0a2 100644 (file)
@@ -169,7 +169,7 @@ integrity of the content.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index 2061762cf23e4325f09fe91f173a441150931378..e39f7eccc6590d33119ef3cc513718b77439415f 100644 (file)
@@ -226,9 +226,9 @@ is used.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^%bindir%/inc~^Program to incorporate maildrop into folder
 ^%bindir%/inc~^Program to incorporate maildrop into folder
-^%libdir%/post~^Program to deliver a message
+^%nmhlibexecdir%/post~^Program to deliver a message
 ^/tmp/mhmail*~^Temporary copy of message
 .fi
 .SH "SEE ALSO"
 ^/tmp/mhmail*~^Temporary copy of message
 .fi
 .SH "SEE ALSO"
index 9629f582a73de89b10ce77a1628addf1d1d7d0e3..dfa5aacceffd0383dbb5e917a149be865b9a3efb 100644 (file)
@@ -44,13 +44,13 @@ If
 is specified, then all components in the nmh profile are
 displayed and other arguments are ignored.
 .PP
 is specified, then all components in the nmh profile are
 displayed and other arguments are ignored.
 .PP
-.BR mhparam
+.B mhparam
 can provide other information, such as the
 .B nmh
 version identifier, the locations of the nmh
 .I etcdir
 and
 can provide other information, such as the
 .B nmh
 version identifier, the locations of the nmh
 .I etcdir
 and
-.I libdir
+.I libexecdir
 install directories, all
 .I proc
 settings, and the
 install directories, all
 .I proc
 settings, and the
@@ -80,6 +80,12 @@ The
 switch displays all such other information available from
 .BR mhparam .
 .PP
 switch displays all such other information available from
 .BR mhparam .
 .PP
+Note that the internal
+.B libdir
+component has been replaced by
+.BR libexecdir .
+The old form is deprecated and will be removed in a future release.
+.PP
 Examples:
 .PP
 .RS 5
 Examples:
 .PP
 .RS 5
@@ -89,7 +95,7 @@ Examples:
 Mail
 
 % mhparam mhlproc
 Mail
 
 % mhparam mhlproc
-%libdir%/mhl
+%nmhlibexecdir%/mhl
 
 % mhparam \-component Path
 Path: Mail
 
 % mhparam \-component Path
 Path: Mail
@@ -110,10 +116,10 @@ context: context
 %nmhversion%
 
 % mhparam etcdir
 %nmhversion%
 
 % mhparam etcdir
-%etcdir%
+%nmhetcdir%
 
 
-% mhparam libdir
-%libdir%
+% mhparam libexecdir
+%nmhlibexecdir%
 
 % mhparam spoollocking
 %default_locking%
 
 % mhparam spoollocking
 %default_locking%
index ac228f06bec8e076bac1014f0ce3545457813f11..10104255d84899b568e2e8f5541c5319a0a1d974 100644 (file)
@@ -587,7 +587,7 @@ need be present in this additional profile. Finally,
 will attempt to consult
 .PP
 .RS 5
 will attempt to consult
 .PP
 .RS 5
-%etcdir%/mhn.defaults
+%nmhetcdir%/mhn.defaults
 .RE
 .PP
 which is created automatically during
 .RE
 .PP
 which is created automatically during
@@ -644,17 +644,17 @@ absolute pathnames are accessed directly, tilde expansion is done on
 usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
 usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .PP
 .fc ^ ~
 .nf
 is checked.
 .PP
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^$MHSHOW~^Additional profile entries
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^$MHSHOW~^Additional profile entries
-^%etcdir%/mhn.defaults~^System default MIME profile entries
-^%etcdir%/mhl.headers~^The headers template
-^%etcdir%/mhshow.marker~^Example content marker
+^%nmhetcdir%/mhn.defaults~^System default MIME profile entries
+^%nmhetcdir%/mhl.headers~^The headers template
+^%nmhetcdir%/mhshow.marker~^Example content marker
 .fi
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
 .fi
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
index 14faaa0e560419dd7e2006d25d5f20379d747e9c..fe50d253f4be085375a5c7f21a880590b862802e 100644 (file)
@@ -522,7 +522,7 @@ Finally,
 will attempt to consult
 .PP
 .RS 5
 will attempt to consult
 .PP
 .RS 5
-%etcdir%/mhn.defaults
+%nmhetcdir%/mhn.defaults
 .RE
 .PP
 which is created automatically during
 .RE
 .PP
 which is created automatically during
@@ -539,15 +539,15 @@ pathnames are accessed directly, tilde expansion is done on usernames,
 and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
 and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .PP
 .fc ^ ~
 .nf
 is checked.
 .PP
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^$MHSTORE~^Additional profile entries
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^$MHSTORE~^Additional profile entries
-^%etcdir%/mhn.defaults~^System default MIME profile entries
+^%nmhetcdir%/mhn.defaults~^System default MIME profile entries
 .fi
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
 .fi
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
index 48e2e83ed707fa1c562357bc003d5070d2def9ac..0d5d6c9873e608cad37706f815f341548de0c606 100644 (file)
@@ -123,9 +123,9 @@ switch.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^$HOME/\&.mh\(ruprofile~^The user profile
-^%etcdir%/mts.conf~^nmh mts configuration file
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
 ^%mailspool%/$USER~^Location of mail drop
 .fi
 .SH "PROFILE COMPONENTS"
 ^%mailspool%/$USER~^Location of mail drop
 .fi
 .SH "PROFILE COMPONENTS"
index 7f93b9a36b0edd3fcc5a08f0e9a1dcf8cfe41adb..e95e7de7759bb9d04a874634826cc95deb7beebd 100644 (file)
@@ -84,7 +84,7 @@ for each matching folder.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index 9138c1cf2e1a77d100690dad9afb3c8b2b026745..9e246287d636492c27fca580e62ce6ff9eb30093 100644 (file)
@@ -45,7 +45,7 @@ details.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index f3e9ccbe6e4f0f24b3eccf7d249cf3b340b3c601..cf1433050039a3693e15c849dcf2a21d77e9753f 100644 (file)
@@ -530,12 +530,12 @@ contains
 .B nmh
 commands
 .TP
 .B nmh
 commands
 .TP
-%etcdir%
+%nmhetcdir%
 contains
 .B nmh
 format files
 .TP
 contains
 .B nmh
 format files
 .TP
-%libdir%
+%nmhlibexecdir%
 contains
 .B nmh
 library commands
 contains
 .B nmh
 library commands
index 898f0b0d21372e8b5c44f82243733cc07f5eaa5e..5f2aef5fed089035e036f16f63d4a5bc20ad4b69 100644 (file)
@@ -60,7 +60,7 @@ can be unpacked using
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^\&.msgbox\&.map~^A binary index of the file
 .fi
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^\&.msgbox\&.map~^A binary index of the file
 .fi
index e023db5c8d0bd14eeb2f126cb1e00e752fc7c1d8..000da2243d326688c661fb4a7f6aa505c2f593c7 100644 (file)
@@ -329,7 +329,7 @@ when it fails.  This lets the outer command fail gracefully as well.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index a1fb31601c8e360f6f205a47ceedcb4267950db0..a9745ee2cdf716135539ca807fc5c2b5d03c394d 100644 (file)
@@ -7,7 +7,7 @@ post \- deliver a message
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/post 
+.B %nmhlibexecdir%/post 
 .RB [ \-alias
 .IR aliasfile ]
 .RB [ \-filter
 .RB [ \-alias
 .IR aliasfile ]
 .RB [ \-filter
@@ -179,7 +179,7 @@ will be instructed to not send any bounces in response to the message.
 Not all mail transport systems support this feature.
 .PP
 The mail transport system default is provided in
 Not all mail transport systems support this feature.
 .PP
 The mail transport system default is provided in
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 but can be overriiden here with the
 .B \-mts
 switch.
 but can be overriiden here with the
 .B \-mts
 switch.
@@ -191,7 +191,7 @@ and the
 switches can be used to override the default mail server (defined by the
 .RI servers
 entry in
 switches can be used to override the default mail server (defined by the
 .RI servers
 entry in
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 ).
 .PP
 If
 ).
 .PP
 If
@@ -258,11 +258,11 @@ used for that service.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mts.conf~^nmh mts configuration file
-^%etcdir%/MailAliases~^global nmh alias file
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
+^%nmhetcdir%/MailAliases~^global nmh alias file
 ^%bindir%/refile~^Program to process Fcc:s
 ^%bindir%/refile~^Program to process Fcc:s
-^%libdir%/mhl~^Program to process Bcc:s
+^%nmhlibexecdir%/mhl~^Program to process Bcc:s
 .fi
 .SH "PROFILE COMPONENTS"
 .B post
 .fi
 .SH "PROFILE COMPONENTS"
 .B post
@@ -282,7 +282,7 @@ consult the user's
 (RFC 822)
 .SH DEFAULTS
 .nf
 (RFC 822)
 .SH DEFAULTS
 .nf
-.RB ` \-alias "' defaults to %etcdir%/MailAliases"
+.RB ` \-alias "' defaults to %nmhetcdir%/MailAliases"
 .RB ` \-format '
 .RB ` \-nomime '
 .RB ` \-nomsgid '
 .RB ` \-format '
 .RB ` \-nomime '
 .RB ` \-nomsgid '
index 71eb8f7bb734b2e5bc875762e447e584cc776d9f..7dd54459483322e41a41b15ba4fe3b9715a8eb4a 100644 (file)
@@ -43,7 +43,7 @@ for all the details.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index 9e3263ad7385caa9c1de037f8fc0d1fd1f69a866..96e15b386d097ed74db93cc7e9ed751e452d6cf1 100644 (file)
@@ -140,7 +140,7 @@ the draft file, and subsequent non\-flag arguments are ignored.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^/tmp/prompter*~^Temporary copy of message
 .fi
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^/tmp/prompter*~^Temporary copy of message
 .fi
index 6b4af631fc48e1e8304e3c8723d0252e4fd2afd1..2cb7f8100b3c9379c276a7d16a504400a3056270 100644 (file)
@@ -7,7 +7,7 @@ rcvdist \- asynchronously redistribute new mail
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/rcvdist
+.B %nmhlibexecdir%/rcvdist
 .RB [ \-form
 .IR formfile ]
 [switches\ for
 .RB [ \-form
 .IR formfile ]
 [switches\ for
@@ -66,12 +66,12 @@ profile component.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/rcvdistcomps~^Default message skeleton
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/rcvdistcomps~^Default message skeleton
 ^or <mh\-dir>/rcvdistcomps~^Rather than standard message skeleton
 ^or <mh\-dir>/rcvdistcomps~^Rather than standard message skeleton
-^%etcdir%/mts.conf~^nmh mts configuration file
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
 ^$HOME/\&.maildelivery~^The file controlling local delivery
 ^$HOME/\&.maildelivery~^The file controlling local delivery
-^%etcdir%/maildelivery~^Rather than the standard file
+^%nmhetcdir%/maildelivery~^Rather than the standard file
 .fi
 .SH "SEE ALSO"
 .IR rcvpack (1),
 .fi
 .SH "SEE ALSO"
 .IR rcvpack (1),
index fc18abeb007ad98de360aba425d4ca8d8cb0556a..7be89dbebba9b17097a3cde4745c35605d8df877 100644 (file)
@@ -7,7 +7,7 @@ rcvpack \- append message to file
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/rcvpack
+.B %nmhlibexecdir%/rcvpack
 .I file
 .RB [ \-mbox ]
 .RB [ \-mmdf ]
 .I file
 .RB [ \-mbox ]
 .RB [ \-mmdf ]
@@ -46,8 +46,8 @@ shell scripts.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mts.conf~^nmh mts configuration file
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
 .fi
 .SH "SEE ALSO"
 .IR rcvdist (1),
 .fi
 .SH "SEE ALSO"
 .IR rcvdist (1),
index 3ed56fe3502359aee493cb6e82bb7564729ffa6b..8174279067f55846666b7ec14f49b24d13b67a8d 100644 (file)
@@ -7,7 +7,7 @@ rcvstore \- asynchronously incorporate mail into a folder
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/rcvstore
+.B %nmhlibexecdir%/rcvstore
 .RI [ +folder ]
 .RB [ \-create " | " \-nocreate ]
 .RB [ \-unseen " | " \-nounseen ]
 .RI [ +folder ]
 .RB [ \-create " | " \-nocreate ]
 .RB [ \-unseen " | " \-nounseen ]
@@ -112,7 +112,7 @@ entry.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index 8b9dd446b0012b2423c958a818322f3368405bff..942caf8096994f8ad1f3dc1ccee935d682857b4e 100644 (file)
@@ -7,7 +7,7 @@ rcvtty  \- report new mail
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/rcvtty
+.B %nmhlibexecdir%/rcvtty
 .RI [ command ]
 .RB [ \-form
 .IR formatfile ]
 .RI [ command ]
 .RB [ \-form
 .IR formatfile ]
@@ -101,10 +101,10 @@ instead.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mts.conf~^nmh mts configuration file
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
 ^$HOME/\&.maildelivery~^The file controlling local delivery
 ^$HOME/\&.maildelivery~^The file controlling local delivery
-^%etcdir%/maildelivery~^Rather than the standard file
+^%nmhetcdir%/maildelivery~^Rather than the standard file
 .fi
 .SH CONTEXT
 None
 .fi
 .SH CONTEXT
 None
index 1acc3800cacca4c37a90cefe53c3792418faac7f..d4dfbacc44100649cd4aaaba992babe37dda4c34 100644 (file)
@@ -178,7 +178,7 @@ to file the <mh\-dir>/draft.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index fe87c856597517fba1ff7e83edf05f65b868e35a..72325e50aaa74163af268ad072510b06d2086461 100644 (file)
@@ -477,17 +477,17 @@ absolute pathnames are accessed directly, tilde expansion is done on
 usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
 usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .PP
 .fc ^ ~
 .nf
 is checked.
 .PP
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/replcomps~^The standard reply template
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/replcomps~^The standard reply template
 ^or <mh\-dir>/replcomps~^Rather than the standard template
 ^or <mh\-dir>/replcomps~^Rather than the standard template
-^%etcdir%/replgroupcomps~^The standard `reply -group' template
+^%nmhetcdir%/replgroupcomps~^The standard `reply -group' template
 ^or <mh\-dir>/replgroupcomps~^Rather than the standard template
 ^or <mh\-dir>/replgroupcomps~^Rather than the standard template
-^%etcdir%/mhl.reply~^The standard message filter
+^%nmhetcdir%/mhl.reply~^The standard message filter
 ^or <mh\-dir>/mhl.reply~^Rather than the standard filter
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/draft~^The draft file
 ^or <mh\-dir>/mhl.reply~^Rather than the standard filter
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/draft~^The draft file
index 0003735ffb90c935cd14bdc40640a7a8477a33ef..d4f5fb9c144f0ae0f238b57de7d6ec6b301eab11 100644 (file)
@@ -57,7 +57,7 @@ use it with caution.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index d1b12c83a98771b728341e7fcb2b9b6181749fa8..886703973f8358fe663b727eb34281f207cf5b20 100644 (file)
@@ -65,7 +65,7 @@ switches.
 An example of a
 .I rmmproc
 script that saves a message based in its Message-ID is provided in
 An example of a
 .I rmmproc
 script that saves a message based in its Message-ID is provided in
-%etcdir%/rmmproc.messageid.  To enable it, simply add a
+%nmhetcdir%/rmmproc.messageid.  To enable it, simply add a
 .I rmmproc
 component that names it to your profile.
 .PP
 .I rmmproc
 component that names it to your profile.
 .PP
@@ -94,7 +94,7 @@ advance to the next message in the folder as expected.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index 17a702caee89c1c6cceebe6a38b9a98bebc0f45c..d63e280ec64aec09a53d5e5dfb67cddf6b83bfce 100644 (file)
@@ -193,7 +193,7 @@ scanning a draft folder, as message drafts usually aren't allowed
 to have dates in them.
 .PP
 The
 to have dates in them.
 .PP
 The
-.B %etcdir%
+.B %nmhetcdir%
 directory contains several format files as examples of customized
 .B scan
 output.
 directory contains several format files as examples of customized
 .B scan
 output.
@@ -210,7 +210,7 @@ purists hate this idea.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index 6e22bba280531edfb76270d299aac9c1d835c5f3..83333673d6a5ae9bf48455fd5f101b0144230e11 100644 (file)
@@ -362,7 +362,7 @@ switch, the user can direct
 as to how long it should make header lines containing addresses.
 .PP
 The mail transport system default is provided in
 as to how long it should make header lines containing addresses.
 .PP
 The mail transport system default is provided in
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 but can be overriiden here with the
 .B \-mts
 switch.
 but can be overriiden here with the
 .B \-mts
 switch.
@@ -372,7 +372,7 @@ If nmh is using the SMTP MTA, the
 and the
 .B \-port
 switches can be used to override the default mail server (defined by the
 and the
 .B \-port
 switches can be used to override the default mail server (defined by the
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 .RI servers
 entry).  The
 .B \-snoop
 .RI servers
 entry).  The
 .B \-snoop
@@ -456,7 +456,7 @@ for more information.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
@@ -487,7 +487,7 @@ for more information.
 .SH DEFAULTS
 .nf
 .RB ` file "' defaults to <mh\-dir>/draft"
 .SH DEFAULTS
 .nf
 .RB ` file "' defaults to <mh\-dir>/draft"
-.RB ` \-alias "' defaults to %etcdir%/MailAliases"
+.RB ` \-alias "' defaults to %nmhetcdir%/MailAliases"
 .RB ` \-nodraftfolder '
 .RB ` \-nofilter '
 .RB ` \-format '
 .RB ` \-nodraftfolder '
 .RB ` \-nofilter '
 .RB ` \-format '
index ba1fef0037266d2a2a1423008a92531663c95452..51c606362fefa273e2a42c1c0be5fb64418cb0c2 100644 (file)
@@ -176,7 +176,7 @@ to perform the extraction.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index 04589fb6769be0c0fbfa527b184241eac4483a29..a248e6acd62c4b5c005ef3908ef464810db71622 100644 (file)
@@ -166,7 +166,7 @@ from each sequence named by the profile entry.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index a7624241716071e6f43b22ca33b189f93a538dc2..53f9314a3ff2aaece3c86812b51fda0616270042 100644 (file)
@@ -7,7 +7,7 @@ slocal \- asynchronously filter and deliver new mail
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/slocal
+.B %nmhlibexecdir%/slocal
 .RB [ \-addr
 .IR address ]
 .RB [ \-info
 .RB [ \-addr
 .IR address ]
 .RB [ \-info
@@ -126,7 +126,7 @@ support a \&.forward file for directing incoming mail.
 You should include the line
 .PP
 .ce
 You should include the line
 .PP
 .ce
-\*(lq|\ %libdir%/slocal\ \-user\ username\*(rq
+\*(lq|\ %nmhlibexecdir%/slocal\ \-user\ username\*(rq
 .PP
 in your \&.forward file in your home directory.  This will cause
 your MTA to invoke
 .PP
 in your \&.forward file in your home directory.  This will cause
 your MTA to invoke
@@ -286,7 +286,7 @@ file cannot be found, or does not
 perform an action which delivers the message, then
 .B slocal
 will check for a global delivery file at
 perform an action which delivers the message, then
 .B slocal
 will check for a global delivery file at
-.IR %etcdir%/maildelivery .
+.IR %nmhetcdir%/maildelivery .
 This file is read according to the same rules.  This file must be
 owned by root and must be writable only by root.
 .PP
 This file is read according to the same rules.  This file must be
 owned by root and must be writable only by root.
 .PP
@@ -327,7 +327,7 @@ From      steve     destroy A       \-
 default   \-        file    ?       mailbox
 
 # always run rcvtty
 default   \-        file    ?       mailbox
 
 # always run rcvtty
-*         \-        pipe    R       %libdir%/rcvtty
+*         \-        pipe    R       %nmhlibexecdir%/rcvtty
 .fi
 .SS "Sub-process environment"
 When a process is invoked, its environment is: the user/group-ids are
 .fi
 .SS "Sub-process environment"
 When a process is invoked, its environment is: the user/group-ids are
@@ -364,10 +364,10 @@ quicker delivery into your maildrop.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mts.conf~^nmh mts configuration file
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
 ^$HOME/\&.maildelivery~^The file controlling local delivery
 ^$HOME/\&.maildelivery~^The file controlling local delivery
-^%etcdir%/maildelivery~^Rather than the standard file
+^%nmhetcdir%/maildelivery~^Rather than the standard file
 ^%mailspool%/$USER~^The default maildrop
 .fi
 .SH "SEE ALSO"
 ^%mailspool%/$USER~^The default maildrop
 .fi
 .SH "SEE ALSO"
index 4372d963d73443a9e21c9889e85c466bf8d1bf13..e8a13b97bf1fa07202fb1bbb02faa2392e2f7be7 100644 (file)
@@ -118,7 +118,7 @@ dates, their original message order is preserved.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
index c1f735b9fec144d31cdeb2b310e87c2b3752515b..ad3560de2e9c08840721949e437111bf4880b283 100644 (file)
@@ -211,7 +211,7 @@ commands for managing MIME attachments.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/draft~^The draft file
 .fi
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/draft~^The draft file
 .fi
index 9df87b6022265e9f2fcb989f5a049cdba17989c5..da7aee2e2dd4ad95d068c603041dba764c905719 100644 (file)
@@ -58,7 +58,7 @@ useful) feature.  Consult the
 man page for more information.
 .PP
 The mail transport system default is provided in
 man page for more information.
 .PP
 The mail transport system default is provided in
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 but can be overriiden here with the
 .B \-mts
 switch.
 but can be overriiden here with the
 .B \-mts
 switch.
@@ -68,7 +68,7 @@ If nmh is using the SMTP MTA, the
 and the
 .B \-port
 switches can be used to override the default mail server (defined by the
 and the
 .B \-port
 switches can be used to override the default mail server (defined by the
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 .RI servers
 entry).  The
 .B \-snoop
 .RI servers
 entry).  The
 .B \-snoop
@@ -133,7 +133,7 @@ for more information.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 .SH "PROFILE COMPONENTS"
@@ -154,7 +154,7 @@ for more information.
 .nf
 .RB ` file "' defaults to <mh\-dir>/draft"
 .RB ` \-nocheck '
 .nf
 .RB ` file "' defaults to <mh\-dir>/draft"
 .RB ` \-nocheck '
-.RB ` \-alias "' defaults to  %etcdir%/MailAliases"
+.RB ` \-alias "' defaults to  %nmhetcdir%/MailAliases"
 .fi
 .SH CONTEXT
 None
 .fi
 .SH CONTEXT
 None
index f4225e1b62c35c85e4d6e459390e0c6f1db20d3b..004c8b1f447e4d4e33fe8edabafa207e40940ad4 100644 (file)
@@ -9,15 +9,15 @@ test -z "$MH_TEST_DIR"  &&  MH_TEST_DIR="$MH_OBJ_DIR/test/testdir"
 test -z "$prefix"  &&  prefix=@prefix@
 test -z "$datarootdir"  &&  datarootdir=@datarootdir@
 test -z "$exec_prefix"  &&  exec_prefix=@exec_prefix@
 test -z "$prefix"  &&  prefix=@prefix@
 test -z "$datarootdir"  &&  datarootdir=@datarootdir@
 test -z "$exec_prefix"  &&  exec_prefix=@exec_prefix@
-test -z "$auxexecdir"  &&  auxexecdir="@libdir@"
+test -z "$nmhexecdir"  &&  nmhexecdir="@libexecdir@/nmh"
 test -z "$bindir"  &&  bindir="@bindir@"
 test -z "$mandir"  &&  mandir="@mandir@"
 test -z "$bindir"  &&  bindir="@bindir@"
 test -z "$mandir"  &&  mandir="@mandir@"
-test -z "$sysconfdir"  &&  sysconfdir="@sysconfdir@"
+test -z "$nmhetcdir"  &&  nmhetcdir="@sysconfdir@/nmh"
 test -z "$supported_locks"  &&  supported_locks="@supported_locks@"
 test -z "$default_locking"  &&  default_locking="@default_locking@"
 test -z "$MULTIBYTE_ENABLED"  &&  MULTIBYTE_ENABLED="@MULTIBYTE_ENABLED@"
 test -z "$ICONV_ENABLED"  &&  ICONV_ENABLED="@ICONV_ENABLED@"
 test -z "$supported_locks"  &&  supported_locks="@supported_locks@"
 test -z "$default_locking"  &&  default_locking="@default_locking@"
 test -z "$MULTIBYTE_ENABLED"  &&  MULTIBYTE_ENABLED="@MULTIBYTE_ENABLED@"
 test -z "$ICONV_ENABLED"  &&  ICONV_ENABLED="@ICONV_ENABLED@"
-export MH_TEST_DIR auxexecdir bindir mandir sysconfdir
+export MH_TEST_DIR nmhexecdir bindir mandir nmhetcdir
 export MULTIBYTE_ENABLED ICONV_ENABLED
 
 test -z "$MH_INST_DIR"  &&  MH_INST_DIR="${MH_TEST_DIR}/inst"
 export MULTIBYTE_ENABLED ICONV_ENABLED
 
 test -z "$MH_INST_DIR"  &&  MH_INST_DIR="${MH_TEST_DIR}/inst"
@@ -246,9 +246,9 @@ run_test() {
 setup_test ()
 {
   MH="${MH_TEST_DIR}/Mail/.mh_profile"
 setup_test ()
 {
   MH="${MH_TEST_DIR}/Mail/.mh_profile"
-  MHMTSCONF="${MH_INST_DIR}${sysconfdir}/mts.conf"
-  MH_LIB_DIR="${MH_INST_DIR}${auxexecdir}"
-  export MH MHMTSCONF MH_LIB_DIR
+  MHMTSCONF="${MH_INST_DIR}${nmhetcdir}/mts.conf"
+  MH_LIBEXEC_DIR="${MH_INST_DIR}${nmhexecdir}"
+  export MH MHMTSCONF MH_LIBEXEC_DIR
 
   #
   # Only install once
 
   #
   # Only install once
@@ -285,12 +285,12 @@ setup_test ()
 Path: ${MH_TEST_DIR}/Mail
 buildmimeproc: ${MH_INST_DIR}${bindir}/mhbuild
 fileproc: ${MH_INST_DIR}${bindir}/refile
 Path: ${MH_TEST_DIR}/Mail
 buildmimeproc: ${MH_INST_DIR}${bindir}/mhbuild
 fileproc: ${MH_INST_DIR}${bindir}/refile
-libdir: ${MH_LIB_DIR}
+libexecdir: ${MH_LIBEXEC_DIR}
 mhbuild: -nocontentid
 mhbuild: -nocontentid
-mhlproc: ${MH_LIB_DIR}/mhl
+mhlproc: ${MH_LIBEXEC_DIR}/mhl
 moreproc: cat
 moreproc: cat
-postproc: ${MH_LIB_DIR}/post
-showproc: ${MH_LIB_DIR}/mhl
+postproc: ${MH_LIBEXEC_DIR}/post
+showproc: ${MH_LIBEXEC_DIR}/mhl
 EOF
 
   for f in MailAliases components digestcomps distcomps forwcomps mhl.body \
 EOF
 
   for f in MailAliases components digestcomps distcomps forwcomps mhl.body \
@@ -299,7 +299,7 @@ EOF
            scan.YYYYMMDD scan.curses scan.default scan.highlighted scan.mailx \
           scan.nomime scan.size scan.time scan.timely scan.unseen
   do
            scan.YYYYMMDD scan.curses scan.default scan.highlighted scan.mailx \
           scan.nomime scan.size scan.time scan.timely scan.unseen
   do
-    cp "${MH_INST_DIR}${sysconfdir}/${f}" "${MH_TEST_DIR}/Mail" || exit 1
+    cp "${MH_INST_DIR}${nmhetcdir}/${f}" "${MH_TEST_DIR}/Mail" || exit 1
   done
 
   folder -create +inbox > /dev/null
   done
 
   folder -create +inbox > /dev/null
index 0d0d7b04361ca59e3f80fa4500176a2bf56f85d8..2f1e4f3e0d39d38f5bff3398f24dca82f2a00449 100755 (executable)
@@ -20,7 +20,7 @@ expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err
 actual=$MH_TEST_DIR/$$.actual
 actual_err=$MH_TEST_DIR/$$.actual_err
 expected_err=$MH_TEST_DIR/$$.expected_err
 actual=$MH_TEST_DIR/$$.actual
 actual_err=$MH_TEST_DIR/$$.actual_err
-localmbox=`${MH_LIB_DIR}/ap -format "%(localmbox)" 0 | sed 's/^<\(.*\)>$/\1/'`
+localmbox=`${MH_LIBEXEC_DIR}/ap -format "%(localmbox)" 0 | sed 's/^<\(.*\)>$/\1/'`
 
 #### Use sendmail/pipe below to override default mts.
 mts_fakesendmail="${MHMTSCONF}-fakesendmail"
 
 #### Use sendmail/pipe below to override default mts.
 mts_fakesendmail="${MHMTSCONF}-fakesendmail"
index 97f63b15d25a1e1fd6af84a6e0bdcb626cd4eddf..37b6e309edb918c4799ce34d133792542a0bf05f 100755 (executable)
@@ -15,7 +15,7 @@ if [ "$MH_TEST_DIR"x = x ]; then
 fi
 
 #### Puts message on stdin in a drop that the test knows about.
 fi
 
 #### Puts message on stdin in a drop that the test knows about.
-deliver="$MH_LIB_DIR/rcvpack $MH_TEST_DIR/Mail/fakesendmail.mbox"
+deliver="$MH_LIBEXEC_DIR/rcvpack $MH_TEST_DIR/Mail/fakesendmail.mbox"
 
 found_dasht=0
 for arg in "$@"; do
 
 found_dasht=0
 for arg in "$@"; do
index 43a39e91f408a698ef4434a4ead30ce290109a58..b190d73316932517f7ddf30b0e41fe44be9847ef 100755 (executable)
@@ -17,7 +17,7 @@ fi
 setup_test
 
 # Use proper program, likely not the first one on PATH.
 setup_test
 
 # Use proper program, likely not the first one on PATH.
-dp="${MH_LIB_DIR}/dp"
+dp="${MH_LIBEXEC_DIR}/dp"
 
 expected="$MH_TEST_DIR/$$.expected"
 expected_err="$MH_TEST_DIR/$$.expected_err"
 
 expected="$MH_TEST_DIR/$$.expected"
 expected_err="$MH_TEST_DIR/$$.expected_err"
index c7d89833e8ac7ea95e1ecfb9c342fe515653a40d..b10374c1d49cb88088778640287315e126e1ec58 100755 (executable)
@@ -17,7 +17,7 @@ fi
 setup_test
 
 # Use proper program, likely not the first one on PATH.
 setup_test
 
 # Use proper program, likely not the first one on PATH.
-fmtdump="${MH_LIB_DIR}/fmtdump"
+fmtdump="${MH_LIBEXEC_DIR}/fmtdump"
 
 expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err
 
 expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err
index e4956410c3c1242adc3606534420593d6b67b0ab..32a385653d09bee8e4cef7f019f1ddede9275f24 100755 (executable)
@@ -23,7 +23,7 @@ echo "Local-Mailbox: ${testname}" >> ${MH}
 
 # We can use "ap" to get the output of format commands
 
 
 # We can use "ap" to get the output of format commands
 
-testoutput=`run_prog ${MH_LIB_DIR}/ap -format "%(localmbox)" ignore`
+testoutput=`run_prog ${MH_LIBEXEC_DIR}/ap -format "%(localmbox)" ignore`
 
 if [ x"${testname}" != x"${testoutput}" ]; then
        echo "Expected ${testname}, got ${testoutput}"
 
 if [ x"${testname}" != x"${testoutput}" ]; then
        echo "Expected ${testname}, got ${testoutput}"
index 2290f2a7c5ceb2df3e4e430bf935ae0d8096afa0..cb82846a6a13fc14e3b0f6a3d96a05a4dd5d3814 100755 (executable)
@@ -14,7 +14,7 @@ fi
 setup_test
 
 host=`${MH_OBJ_DIR}/test/getcanon`
 setup_test
 
 host=`${MH_OBJ_DIR}/test/getcanon`
-run_test "${MH_LIB_DIR}/ap -format %(myhost) ignore" "$host" \
+run_test "${MH_LIBEXEC_DIR}/ap -format %(myhost) ignore" "$host" \
          "local hostname test"
 
 cp ${MHMTSCONF} ${MH_TEST_DIR}/Mail/mts.conf || exit 1
          "local hostname test"
 
 cp ${MHMTSCONF} ${MH_TEST_DIR}/Mail/mts.conf || exit 1
@@ -22,7 +22,7 @@ MHMTSCONF="${MH_TEST_DIR}/Mail/mts.conf"
 
 echo "localname: some.random.name" >> ${MHMTSCONF}
 
 
 echo "localname: some.random.name" >> ${MHMTSCONF}
 
-run_test "${MH_LIB_DIR}/ap -format %(myhost) ignore" "some.random.name" \
+run_test "${MH_LIBEXEC_DIR}/ap -format %(myhost) ignore" "some.random.name" \
          "mts.conf localname test"
 
 exit $failed
          "mts.conf localname test"
 
 exit $failed
index f71a3c921a41f5a7615b2302cc5ef2aa80a15b36..753f92e797cb09bff146b01dc23918480dd438bd 100755 (executable)
@@ -17,14 +17,14 @@ setup_test
 #### Local-Mailbox profile component, which we don't use in the test
 #### suite, or the user's login name.  ap will escape (quote) it if
 #### needed.
 #### Local-Mailbox profile component, which we don't use in the test
 #### suite, or the user's login name.  ap will escape (quote) it if
 #### needed.
-user=`run_prog ${MH_LIB_DIR}/ap -format '%(me)' 0`
+user=`run_prog ${MH_LIBEXEC_DIR}/ap -format '%(me)' 0`
 host=`${MH_OBJ_DIR}/test/getcanon`
 
 host=`${MH_OBJ_DIR}/test/getcanon`
 
-output=`run_prog ${MH_LIB_DIR}/ap -format '%(mymbox{text})' "${user}"`
+output=`run_prog ${MH_LIBEXEC_DIR}/ap -format '%(mymbox{text})' "${user}"`
 run_test "echo $output" 1 "Basic user test"
 run_test "echo $output" 1 "Basic user test"
-output=`run_prog ${MH_LIB_DIR}/ap -format '%(mymbox{text})' "${user}@${host}"`
+output=`run_prog ${MH_LIBEXEC_DIR}/ap -format '%(mymbox{text})' "${user}@${host}"`
 run_test "echo $output" 1 "Basic user@host test"
 run_test "echo $output" 1 "Basic user@host test"
-run_test "${MH_LIB_DIR}/ap -format %(mymbox{text}) nosuchuser@nosuchhost.blah" \
+run_test "${MH_LIBEXEC_DIR}/ap -format %(mymbox{text}) nosuchuser@nosuchhost.blah" \
          0 "Basic non-matching test"
 
 myname="Random User <random@user.something.com>"
          0 "Basic non-matching test"
 
 myname="Random User <random@user.something.com>"
@@ -36,10 +36,10 @@ mv -f ${MH}.new ${MH}
 echo "Local-Mailbox: ${myname}" >> ${MH}
 
 run_test "echo \
 echo "Local-Mailbox: ${myname}" >> ${MH}
 
 run_test "echo \
-         `run_prog ${MH_LIB_DIR}/ap -format '%(mymbox{text})' "${myname}"`" \
+         `run_prog ${MH_LIBEXEC_DIR}/ap -format '%(mymbox{text})' "${myname}"`" \
          1 "Local-Mailbox test"
 
          1 "Local-Mailbox test"
 
-output=`run_prog ${MH_LIB_DIR}/ap -format '%(mymbox{text})' "${user}@${host}"`
+output=`run_prog ${MH_LIBEXEC_DIR}/ap -format '%(mymbox{text})' "${user}@${host}"`
 run_test "echo $output" 0 "Local-mailbox overriding user@host test"
 
 # Add an Alternate-Mailbox.  This caused ismymbox() to lose the
 run_test "echo $output" 0 "Local-mailbox overriding user@host test"
 
 # Add an Alternate-Mailbox.  This caused ismymbox() to lose the
@@ -47,7 +47,7 @@ run_test "echo $output" 0 "Local-mailbox overriding user@host test"
 # Alternate-Mailboxes.
 printf 'Alternate-Mailboxes: user@example.com\n' >> $MH
 run_test "echo \
 # Alternate-Mailboxes.
 printf 'Alternate-Mailboxes: user@example.com\n' >> $MH
 run_test "echo \
-         `run_prog ${MH_LIB_DIR}/ap -format '%(mymbox{text})' "${myname}"`" \
+         `run_prog ${MH_LIBEXEC_DIR}/ap -format '%(mymbox{text})' "${myname}"`" \
          1 "Local-Mailbox with Alternate-Mailbox test"
 
 exit $failed
          1 "Local-Mailbox with Alternate-Mailbox test"
 
 exit $failed
index dda0f37bf8cb8e79092f5d2c2597a4702478e224..864f1bbd6a605a06c0179afa684a18c075e9425d 100755 (executable)
@@ -18,18 +18,18 @@ setup_test
 unset SIGNATURE
 
 fullname=`${MH_OBJ_DIR}/test/getfullname`
 unset SIGNATURE
 
 fullname=`${MH_OBJ_DIR}/test/getfullname`
-run_test "${MH_LIB_DIR}/ap -format %(myname) ignore" \
+run_test "${MH_LIBEXEC_DIR}/ap -format %(myname) ignore" \
          "$fullname" "GECOS field test"
 
 echo "Signature: Some Random Name 1" >> ${MH}
 
          "$fullname" "GECOS field test"
 
 echo "Signature: Some Random Name 1" >> ${MH}
 
-run_test "${MH_LIB_DIR}/ap -format %(myname) ignore" \
+run_test "${MH_LIBEXEC_DIR}/ap -format %(myname) ignore" \
          "Some Random Name 1" "MH Profile Signature test"
 
 SIGNATURE="Some Random Name 2"
 export SIGNATURE
 
          "Some Random Name 1" "MH Profile Signature test"
 
 SIGNATURE="Some Random Name 2"
 export SIGNATURE
 
-run_test "${MH_LIB_DIR}/ap -format %(myname) ignore" \
+run_test "${MH_LIBEXEC_DIR}/ap -format %(myname) ignore" \
          "${SIGNATURE}" "SIGNATURE Environment test"
 
 #### Test escaping of display names.
          "${SIGNATURE}" "SIGNATURE Environment test"
 
 #### Test escaping of display names.
index f482db4f43e2efc685ff11a6c3c814c5b80fdd9d..6ad7e4ebbf0c13b1f94e09352104c3ee8b26ca0b 100755 (executable)
@@ -12,7 +12,7 @@ fi
 
 setup_test
 
 
 setup_test
 
-actual=`run_prog ${MH_LIB_DIR}/ap -format "%-30(friendly{text})<<End of test" "No Such User <nosuch@user.com>"`
+actual=`run_prog ${MH_LIBEXEC_DIR}/ap -format "%-30(friendly{text})<<End of test" "No Such User <nosuch@user.com>"`
 expected="                  No Such User<<End of test"
 ##########123456789012345678901234567890
 
 expected="                  No Such User<<End of test"
 ##########123456789012345678901234567890
 
index 066058b836e00c073df1fd81336b24ae01b061ea..09b261bc5bbc97edd689a6e9a157efe389c2c8ca 100755 (executable)
@@ -57,7 +57,7 @@ run_test 'msgchk' "You don't have any mail waiting"
 
 # Use maildrop specified in mts.conf, i.e.,
 # ${MH_TEST_DIR}/Mail/maildrop, which should not yet exist.
 
 # Use maildrop specified in mts.conf, i.e.,
 # ${MH_TEST_DIR}/Mail/maildrop, which should not yet exist.
-"${MH_LIB_DIR}"/rcvpack <"${MH_TEST_DIR}"/Mail/inbox/1 \
+"${MH_LIBEXEC_DIR}"/rcvpack <"${MH_TEST_DIR}"/Mail/inbox/1 \
   "${MH_TEST_DIR}"/Mail/maildrop
 
 # check with no arguments and mail waiting
   "${MH_TEST_DIR}"/Mail/maildrop
 
 # check with no arguments and mail waiting
index f1f16cd50df0f160c834ff75b8e97e958a60a58a..2f10b86835fe3c22817e9e173e16913598d70324 100755 (executable)
@@ -12,7 +12,7 @@ fi
 . "$MH_OBJ_DIR/test/common.sh"
 
 setup_test
 . "$MH_OBJ_DIR/test/common.sh"
 
 setup_test
-mhl="${MH_LIB_DIR}/mhl"
+mhl="${MH_LIBEXEC_DIR}/mhl"
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
 
index 3a9ad02ae836217c2ce5a7523c520c1fb9df80d2..c31577824e9fe152e3e0fd341180236f8345087b 100755 (executable)
@@ -85,19 +85,19 @@ $MH_INST_DIR$bindir/refile
 $bindir/inc
 more
 $bindir/mhmail
 $bindir/inc
 more
 $bindir/mhmail
-$MH_INST_DIR$auxexecdir/mhl
+$MH_INST_DIR$nmhexecdir/mhl
 cat
 600
 $bindir/packf
 cat
 600
 $bindir/packf
-$MH_INST_DIR$auxexecdir/post
+$MH_INST_DIR$nmhexecdir/post
 $bindir/send
 $bindir/mhshow
 $bindir/send
 $bindir/mhshow
-$MH_INST_DIR$auxexecdir/mhl
+$MH_INST_DIR$nmhexecdir/mhl
 nmh-`cat ${srcdir}/VERSION`
 $bindir/whatnow
 $bindir/whom
 nmh-`cat ${srcdir}/VERSION`
 $bindir/whatnow
 $bindir/whom
-$sysconfdir
-${MH_LIB_DIR}
+$nmhetcdir
+$MH_LIBEXEC_DIR
 fcntl
 ${default_locking}
 EOF
 fcntl
 ${default_locking}
 EOF
@@ -123,7 +123,7 @@ version \
 whatnowproc \
 whomproc \
 etcdir \
 whatnowproc \
 whomproc \
 etcdir \
-libdir \
+libexecdir \
 datalocking \
 spoollocking >$actual 2>&1
 
 datalocking \
 spoollocking >$actual 2>&1
 
index e5a91b57b771c23e7a4724ee55fbf192b3292a48..084f649a7f8ff8ec0cea777d7c684741d4a2fabc 100755 (executable)
@@ -19,7 +19,7 @@ setup_test
 expected="$MH_TEST_DIR"/$$.expected
 actual="$MH_TEST_DIR"/$$.actual
 
 expected="$MH_TEST_DIR"/$$.expected
 actual="$MH_TEST_DIR"/$$.actual
 
-mkstemp="${MH_LIB_DIR}/mkstemp"
+mkstemp="${MH_LIBEXEC_DIR}/mkstemp"
 $mkstemp -help | grep suffix >/dev/null  &&  has_mkstemps=1  ||  has_mkstemps=0
 
 cd "$MHTMPDIR"
 $mkstemp -help | grep suffix >/dev/null  &&  has_mkstemps=1  ||  has_mkstemps=0
 
 cd "$MHTMPDIR"
index c5f08c004811c65d3a0ff8da61f8f91b7da79bbb..64bf2696d2e9d44813311bf49844deca767862a2 100755 (executable)
@@ -18,7 +18,7 @@ setup_test
 
 expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
 expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
-localmbox=`$MH_LIB_DIR/ap -format "%(localmbox)" 0`
+localmbox=`$MH_LIBEXEC_DIR/ap -format "%(localmbox)" 0`
 #### Use this script itself for the test file.
 testfiledir="$srcdir/test/post"
 testfile=`basename $0`
 #### Use this script itself for the test file.
 testfiledir="$srcdir/test/post"
 testfile=`basename $0`
index e69e140ecffd0fd1114cfcd00031d54772e9d0fa..eca96860df2930487263e3da92171236de364545 100755 (executable)
@@ -17,7 +17,7 @@ fi
 setup_test
 
 # Use proper program, likely not the first one on PATH.
 setup_test
 
 # Use proper program, likely not the first one on PATH.
-rcvdist="${MH_LIB_DIR}/rcvdist"
+rcvdist="${MH_LIBEXEC_DIR}/rcvdist"
 
 expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
 expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
@@ -81,7 +81,7 @@ To: Some User <user@example.com>
 Date: Fri, 29 Sep 2006 00:00:00
 Message-Id: 1@test.nmh
 Subject: Testing message 1
 Date: Fri, 29 Sep 2006 00:00:00
 Message-Id: 1@test.nmh
 Subject: Testing message 1
-Resent-From: `${MH_LIB_DIR}/ap -format '%(localmbox)' 0 | \
+Resent-From: `${MH_LIBEXEC_DIR}/ap -format '%(localmbox)' 0 | \
               sed 's/^<\(.*\)>$/\1/'`
 Resent-To: recipient@example.com
 Resent-Date:
               sed 's/^<\(.*\)>$/\1/'`
 Resent-To: recipient@example.com
 Resent-Date:
index ae2b294cf455f30884aef600f297ec6439137f4e..958504c6c1bd31cb8bf5027cc2bf007f0bb8ea27 100755 (executable)
@@ -17,7 +17,7 @@ fi
 setup_test
 
 # Use proper program, likely not the first one on PATH.
 setup_test
 
 # Use proper program, likely not the first one on PATH.
-rcvpack="${MH_LIB_DIR}/rcvpack"
+rcvpack="${MH_LIBEXEC_DIR}/rcvpack"
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
index 6445f69adffb612624e5b02299551623bfbd26e1..9656f373ee93db5a278c2ef17e6a06c45ef17db4 100755 (executable)
@@ -17,7 +17,7 @@ fi
 setup_test
 
 # Use proper program, likely not the first one on PATH.
 setup_test
 
 # Use proper program, likely not the first one on PATH.
-rcvstore="${MH_LIB_DIR}/rcvstore"
+rcvstore="${MH_LIBEXEC_DIR}/rcvstore"
 
 expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err
 
 expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err
index f0c58d14bc301d46dd6c0be092380d9623bb4e3e..f0e6558f02bd44f74ad74aaec3383ab6dc4917e0 100755 (executable)
@@ -17,7 +17,7 @@ fi
 setup_test
 
 # Use proper program, likely not the first one on PATH.
 setup_test
 
 # Use proper program, likely not the first one on PATH.
-rcvtty="${MH_LIB_DIR}/rcvtty"
+rcvtty="${MH_LIBEXEC_DIR}/rcvtty"
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
index cadda35360a99455b509b6acd34acd47bc06ecbd..08eb1a80cf716370367b5d848111f4943a9fde36 100755 (executable)
@@ -17,7 +17,7 @@ fi
 setup_test
 
 # Use proper program, maybe not the first one on PATH.
 setup_test
 
 # Use proper program, maybe not the first one on PATH.
-slocal="$MH_LIB_DIR"/slocal
+slocal="$MH_LIBEXEC_DIR"/slocal
 
 expected="$MH_TEST_DIR"/$$.expected
 actual="$MH_TEST_DIR"/$$.actual
 
 expected="$MH_TEST_DIR"/$$.expected
 actual="$MH_TEST_DIR"/$$.actual
@@ -145,7 +145,7 @@ check "$MH_TEST_DIR/Mail/inbox/5" "$actual2" 'keep first'
 
 # Use current login for address, user, etc., because it must be an
 # existing user on the host.
 
 # Use current login for address, user, etc., because it must be an
 # existing user on the host.
-me=`"$MH_LIB_DIR"/ap -format '%(me)' 0`
+me=`"$MH_LIBEXEC_DIR"/ap -format '%(me)' 0`
 
 # check -addr
 cat >"$md"  <<EOF
 
 # check -addr
 cat >"$md"  <<EOF
index b9dc0ddd2eb32c8e2ed6c096a84b9e81f7d9f66e..b5a3c35e89c1fe966037b206d8f36933fd11e6df 100755 (executable)
@@ -57,7 +57,7 @@ die() {
 
 bindir=`finddir $0`
 nmhbindir=`cd "$bindir" && pwd`
 
 bindir=`finddir $0`
 nmhbindir=`cd "$bindir" && pwd`
-nmhlibdir=`$nmhbindir/mhparam libdir`
+nmhlibexecdir=`$nmhbindir/mhparam libexecdir`
 case `printf 'OK\n' | tail -n 1 2>&1` in
   OK) tail='tail -n ' ;;
   *)  tail='tail -' ;;
 case `printf 'OK\n' | tail -n 1 2>&1` in
   OK) tail='tail -n ' ;;
   *)  tail='tail -' ;;
@@ -189,7 +189,7 @@ if [ "$tolist"x = x ]; then
   die 'Usage: mhmail [-t(o)] addrs ... [switches]'
 fi
 if [ "$from"x = x ]; then
   die 'Usage: mhmail [-t(o)] addrs ... [switches]'
 fi
 if [ "$from"x = x ]; then
-  from=`${nmhlibdir}/ap -format '%(localmbox)' 0`
+  from=`${nmhlibexecdir}/ap -format '%(localmbox)' 0`
 fi
 
 #### Check for missing mandatory arguments.
 fi
 
 #### Check for missing mandatory arguments.
@@ -215,7 +215,7 @@ fi
 #### .orig file, so it will remove them, too.
 umask 077
 tmpdir="${MHTMPDIR:-${TMPDIR:-`$nmhbindir/mhpath +`}}"
 #### .orig file, so it will remove them, too.
 umask 077
 tmpdir="${MHTMPDIR:-${TMPDIR:-`$nmhbindir/mhpath +`}}"
-tmpfilename=`cd "$tmpdir"  &&  "${nmhlibdir}/mkstemp" -p mhmail`
+tmpfilename=`cd "$tmpdir"  &&  "${nmhlibexecdir}/mkstemp" -p mhmail`
 [ $? -ne 0 ]  &&  die "mhmail: failed to create temporary file in $tmpdir"
 tmpfile="$tmpdir/$tmpfilename"
 backup_char=`"$nmhbindir"/mhparam sbackup`
 [ $? -ne 0 ]  &&  die "mhmail: failed to create temporary file in $tmpdir"
 tmpfile="$tmpdir/$tmpfilename"
 backup_char=`"$nmhbindir"/mhparam sbackup`
@@ -236,7 +236,7 @@ else
     #### When resending with send, tmpfile will just contain the
     #### Resent- header fields.  "$tmpfileresent" will contain
     #### the message that is being resent.
     #### When resending with send, tmpfile will just contain the
     #### Resent- header fields.  "$tmpfileresent" will contain
     #### the message that is being resent.
-    tmpfileresent=`"${nmhlibdir}/mkstemp" -d "$tmpdir" -p mhmail-resent`
+    tmpfileresent=`"${nmhlibexecdir}/mkstemp" -d "$tmpdir" -p mhmail-resent`
     [ $? -ne 0 ]  &&  die "mhmail: failed to create temporary file in $tmpdir"
     mhdist=1; export mhdist
     mhaltmsg=$tmpfileresent; export mhaltmsg
     [ $? -ne 0 ]  &&  die "mhmail: failed to create temporary file in $tmpdir"
     mhdist=1; export mhdist
     mhaltmsg=$tmpfileresent; export mhaltmsg
index bd22470c3732715e617a3a6eb85e75cf8aa8ffb0..acb416c71a4bf41a8f7bbcde0c84cc7a2cb3dedd 100644 (file)
@@ -29,8 +29,8 @@ DEFINE_SWITCH_ENUM(MHPARAM);
 DEFINE_SWITCH_ARRAY(MHPARAM, switches);
 #undef X
 
 DEFINE_SWITCH_ARRAY(MHPARAM, switches);
 #undef X
 
-extern char *mhlibdir;
 extern char *mhetcdir;
 extern char *mhetcdir;
+extern char *mhlibexecdir;
 
 static char *sbackup = BACKUP_PREFIX;
 
 
 static char *sbackup = BACKUP_PREFIX;
 
@@ -105,7 +105,8 @@ static struct proc procs [] = {
      { "whatnowproc",      &whatnowproc },
      { "whomproc",         &whomproc },
      { "etcdir",           &mhetcdir },
      { "whatnowproc",      &whatnowproc },
      { "whomproc",         &whomproc },
      { "etcdir",           &mhetcdir },
-     { "libdir",           &mhlibdir },
+     { "libdir",           &mhlibexecdir },
+     { "libexecdir",       &mhlibexecdir },
      { "localmbox",       &localmbox },
      { "sbackup",          &sbackup },
      { "datalocking",      &datalocking },
      { "localmbox",       &localmbox },
      { "sbackup",          &sbackup },
      { "datalocking",      &datalocking },
index e5ee130ee7b6be411f5f73138b1171edcd52e2b3..777fdb94f002c9ae04d1adbe8dabc0885eefc9ba 100644 (file)
@@ -10,4 +10,4 @@
 
 prefix='@prefix@'
 exec_prefix="@exec_prefix@"
 
 prefix='@prefix@'
 exec_prefix="@exec_prefix@"
-exec "@libdir@/post" -mts sendmail/pipe "$@"
+exec "@libexecdir@/nmh/post" -mts sendmail/pipe "$@"