Subject: bin/19596: cannot put comment in make .eli* conditional lines
To: None <gnats-bugs@gnats.netbsd.org>
From: Stoned Elipot <seb@runabout.rega.pbox.org>
List: netbsd-bugs
Date: 12/29/2002 01:37:19
>Number:         19596
>Category:       bin
>Synopsis:       one cannot put comment in make .el* conditional lines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 28 16:42:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stoned Elipot
>Release:        NetBSD 1.6K
>Organization:
None
>Environment:
System: NetBSD runabout 1.6K NetBSD 1.6K (RUNABOUT) #0: Sun Dec 22 11:28:35 CET 2002 root@runabout:/usr/u/seb/src/RUNABOUT/compile i386
Architecture: i386
Machine: i386
>Description:
One cannot put a comment in a .el{if,ifndef,...} line.
>How-To-Repeat:
$ cat Makefile
.ifdef(bar) # comment1
FOO=foo
.elifdef(baz) # comment2
FOO=bar
.else # comment3
FOO=baz
.endif # comment4
$ make
make: "/tmp/Makefile" line 3: Malformed conditional ((baz) # comment2)
make: Fatal errors encountered -- cannot continue

make: stopped in /tmp
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: