X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2200848a2290adee2ca80bddde72000152d6f088..0d0d0e65a4c093f3f8827d4cd3375dcde4d4aab0:/INSTALL diff --git a/INSTALL b/INSTALL index c92069bb..3639fe2c 100644 --- a/INSTALL +++ b/INSTALL @@ -5,10 +5,9 @@ -------------------------------- Installing nmh, guided by script -------------------------------- -For routine installation on popular platforms, the shell script in -docs/contrib/build_nmh can be used to guide you through configuration. -It will then build and optionally (with -i) install in the configured -location. +For routine installation on popular platforms, the build_nmh shell +script can be used to guide you through configuration. It will then +build and optionally (with -i) install in the configured location. ------------------------ @@ -67,12 +66,7 @@ need an ANSI C compiler such as gcc. Note that if you have [n]mh files in your install directories with the same names as the files being installed, the old ones will get - overwritten without any warning. The only directory that isn't - true for is the `etc' directory -- in that directory, the previous - copy of each will be backed up as .prev if it differs - from the newly-installed copy. Watch for any diff output while - make is processing that directory to see if you need to merge - changes from *.prev files into the new versions. + overwritten without any warning. 5) Edit the file `mts.conf' (installed in the nmh `etc' directory) and make any necessary changes for the mail transport interface @@ -141,7 +135,7 @@ linking that the "configure" script does not know about, by giving "configure" initial values for these on its command line or in its environment. For example, - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + ./configure CC=c99 CFLAGS=-O2 LIBS=-lposix If you wish to add options that are only used at compile time instead of link time, you can use the CPPFLAGS variable: @@ -189,18 +183,17 @@ Options for configure --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) - 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. ---enable-debug - Enable debugging support. - --with-editor=EDITOR (DEFAULT is vi) specify the full path of the default editor to use. If this option is not given, then the configuration process will search @@ -267,7 +260,7 @@ Options for configure is not given, then the configuration process will search for the command `more' and use it as the default. ---with-smtpservers='SMTPSERVER1[ SMTPSERVER2...]' (DEFAULT is localhost) +--with-smtpserver='SMTPSERVER' (DEFAULT is localhost) If this option is not specified, the mts.conf file will contain the line "servers: localhost", which may be manually edited later. You may find it convenient to specify a value at configure-time,