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
>Organization:
>Environment:
NetBSD abutter.foo.org 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 PST 
2007  
builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
The description about .WAIT in manual page of make(1) is below:
----------------------------------->cut<----------------------------------------
     .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
               a:
                       echo a
               b: b1
                       echo b
               b1:
                       echo b1

               the output is always 'b1', 'b', 'a', 'x'.
----------------------------------->cut<----------------------------------------

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

>How-To-Repeat:
man make
>Fix:
the output is always 'a', 'b1', 'b', 'x'.



Home | Main Index | Thread Index | Old Index