10.1.3.1 M4=
The -E switchcan 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/m4
10.1.3.2 MAKE=
The -E switchcan 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 homegrown make(1),
you could run Build like this:
% ./Build -E MAKE=/usr/local/newbin/make
10.1.3.3 DESTDIR=
The -E switchcan be used with DESTDIR= to install sendmail, its symbolic links (suchas
newaliases), its manual pages, and its support programs (suchas 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:
% ./Build install
Configuration: pfx=, os=SunOS, rel=5.10, rbase=5, rroot=5.10, arch=sun4, sfx=,
variant=optimized
if [ ! -d /etc/mail ]; then mkdir -p /etc/mail; fi
... etc
Now consider the same install using the DESTDIR= environment variable:
% ./Build -E DESTDIR=/export/sun4 install
Making in ../obj.SunOS.5.10.sun4/sendmail
if [ ! -d /export/sun4/etc/mail ]; then mkdir -p /export/sun4/etc/mail; fi
... etc
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.
Pages:
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633