The Build script is used to compile, link, and install all the programs that are shipped with sendmail. The Build script is run like this:
Here we execute Build by prefixing its name with a dot and a slash. This trick ensures that you can run it, even if you do not have a dot in your PATH. As an alternative, because Build is a Bourne shell script, you can run the shell and have the shell run it:
switches change the behavior of
Build, causing it, for example, to use different
directories or clean out a directory to start over. We show all the
Build command-line switches in Table 5-2, following the explanation of
what, and explain them in detail in the
sections that follow that table.
what corresponds to the
“targets” on the left side of the
Makefile created for each program. If
what is missing, the target defaults to
all. The possible targets are:
This target causes the program to be compiled and linked. It creates an executable file that you can install and run, and also formats the manual pages.
This target causes all the intermediate .o files
to be removed, the executable file to be removed, and the formatted
manual pages to be removed. This is a good way to reclaim disk space
after installing the program. Running it does not, however, create a
new Makefile. You should always create a new
Makefile whenever you modify your
m4 build file. See
fresh in the next entry for one way to do that. ...