![]() ![]() |
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/m4 MAKE=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/make DESTDIR=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: % ./Build install Configuration: os=SunOS, rel=4.1.4, rbase=4, rroot=4.1, arch=sun4, sfx= 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.4.1.4.sun4/sendmail if [ ! -d /export/sun4/etc/mail ]; then mkdir -p /export/sun4/etc/mail; fi ... etc Because this prefixing is a part of the Makefile, the DESTDIR environment variable prefixes all the directories defined with the m4 technique (described in Section 2.4). |
![]() ![]() |