This is no longer linked to by make.1.elif.REL=11.0-CURRENT.diff.no_customise as 20150616 make got removed, now replaced by bmake *** 6.1-RELEASE/src/usr.bin/make/make.1 Sun Jan 22 17:33:46 2006 --- generic/src/usr.bin/make/make.1 Tue Jun 20 23:31:22 2006 *************** *** 1510,1515 **** --- 1510,1546 ---- Most of the more esoteric features of .Nm should probably be avoided for greater compatibility. + .Pp + The expansion of .elif uses everything up to end of line, & allows no + # comment delimeter as available to simpler .if & .else & .endif commands. + .br + This thus fails; + .in +2 + .nf + .if defined(AA) #{AA + @echo 11 + .elif defined(BB) #}{!AA{BB + @echo 22 + .else #}{!BB + @echo 33 + .endif #}} + .fi + .in -2 + Whereas this works + .in +2 + .nf + .if defined(AA) #{AA + @echo 11 + .else #}{!AA + .if defined(BB) #{BB + @echo 22 + .else #}{!BB + @echo 33 + .endif #} + .endif #} + .fi + .in -2 + .Pp .Sh SEE ALSO .Xr mkdep 1 , .Xr make.conf 5