Name
-E
Synopsis
The -E switch is
used to specify environment variables that should be passed to
Build and make(1). This
switch is useful on Irix systems, for example, which can store
pointers in either 32- or 64-bit sizes. To build a 32-bit
sendmail, for example, you might run
Build in the sendmail
directory like this:
% ./Build -E ABI=-n32and use the subsystem compiler compiler_dev.sw32.lib.
Inside the Build script are a few environment variables that can be used to tune how Build runs. But before using any, be aware that their use might not be recorded in the resulting Makefile. If that is the case, reconstruction of the command line used will not be possible.
M4=
The -E switch can be used with M4= to select your
preferred version of m4(1). If, for example, you
prefer GNU’s version over the
vendor’s version, you can run
Build like this:
% ./Build -E M4=/usr/local/gnu/bin/m4
...
Using M4=/usr/local/gnu/bin/m4MAKE=
The -E switch can be used with MAKE to select a
different version of make(1) than the one that
is currently first in your path. If, for example, you prefer your
home-grown make(1), you could run
Build like this:
% ./Build -E MAKE=/usr/local/newbin/makeDESTDIR=
The -E switch can be used with DESTDIR to install
sendmail, its symbolic links (such as
newaliases), its manual pages, and its support
programs (such as praliases) under a whole new
directory. One reason for using another directory might be to install
sendmail for use by diskless machines. Consider this ordinary install: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access