]> diplodocus.org Git - nmh/commit
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)
commit46f35e659f3bc3e808a70263bea0ec72624c8a08
tree77155d0035744f5267ae9b73cd68f195bd073622
parent99873064b5f03ef92885f5e5fcadb4374c39a9ef
New locations for config files and support binaries, and smarter default for install root directory.

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