NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/40372: Wrong description in manual page of make(1)

>Number:         40372
>Category:       bin
>Synopsis:       Wrong description in manual page of make(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 12 06:40:00 +0000 2009
>Originator:     Gao Ya'nan
>Release:        NetBSD-current and NetBSD-4.0
NetBSD 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 PST 
The description about .WAIT in manual page of make(1) is below:
     .WAIT     If .WAIT appears in a dependency line, the sources that precede
               it are made before the sources that succeed it in the line.
               Since the dependents of files are not made until the file
               itself could be made, this also stops the dependents being
               built unless they are needed for another branch of the depen-
               dency tree.  So given:

               x: a .WAIT b
                       echo x
                       echo a
               b: b1
                       echo b
                       echo b1

               the output is always 'b1', 'b', 'a', 'x'.

Obviously result is conflict with the text above, and actually the output is 
always 'a', 'b1', 'b', 'x'.

man make
the output is always 'a', 'b1', 'b', 'x'.

Home | Main Index | Thread Index | Old Index