You are receiving this mail because:
You are the assignee for the bug, or are watching the assignee.
Additional Comments From mwoehlke tibco com 2006-08-22 17:50
Created an attachment (id=17463)
()
highlighter for automake (recognizes 'if')
Daniel Franke wrote:
Matthew Woehlke wrote:
>"The 'if'-keyword is actually a keyword in Makefile.am's only, it depends on
>the flags set by the AM_CNDITINAL macro."
>
See
#Conditional-Subdirectories,
especially section 6.2.2 "Conditional subdirectories with AM_CNDITINAL".
It really looks weird if "if" is set in plain text and "else"/"endif" are set
bold.
(So, the IF it is strictly speaking not Makefile syntax, but
very closely related)
, thanks for the clarification. There is actually a correct solution to this,
that I use all the time (for imake, not automake); use the attached .xml.
Duplication of 'else', 'endif' keywords is intentional so that there is an
approximation of consistency if the user wants automake conditionals a
different color than make conditionals (although neither way works in all
cases).
But I stand by my original assertation that makefile.xml should not treat 'if'
as a conditional. That leads people to think that 'if' is a valid keyword in a
makefile, which it isn't. :-)
KWrite-Devel mailing list
KWrite-Devel (AT) kde (DOT) org