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:
% sh Build switches what
The 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 10-2 (which follows the explanation of what), and explain them in
detail in the sections that follow that table.
The what corresponds to the make(1) ???targets??? on the left side of the Makefile created
for eachprogram. If what is missing, the target defaults to all. The possible targets
are:
all
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.
clean
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.
fresh
This target causes the obj directory to be removed in its entirety, and then recreated
from scratch.
Pages:
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629