FreeBSD Bugzilla – Attachment 13473 Details for
Bug 25627
Cannot append hash after .elif in Makefile, (but can after .if)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 995 bytes, created by
Julian H. Stacey Jhs@jhs.muc.de Jhs
on 2001-03-09 09:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Julian H. Stacey Jhs@jhs.muc.de Jhs
Created:
2001-03-09 09:30:01 UTC
Size:
995 bytes
patch
obsolete
>*** 4.2-RELEASE/src/usr.bin/make/make.1 Thu Oct 19 06:23:49 2000 >--- new/src/usr.bin/make/make.1 Thu Mar 8 16:53:43 2001 >*************** >*** 1238,1243 **** >--- 1238,1273 ---- > \&.endfor > .Ed > won't work, and should be rewritten the other way around. >+ .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 > .Sh SEE ALSO > .Xr mkdep 1 > .Rs
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25627
: 13473