On 29/11/12 22:46, Denis Shienkov wrote:
> docs_target.commands = "set QTDOC=$$QTDOC$$escape_expand(\\n\\t)$$QDOC3 
> $$QDOCCONF"

This won't work.

make treats separate "lines" as completely separate commands. You cannot 
set a variable in one line and use it in another. You must pass all 
statements as one line.

Unix shell supports this nice format:
unix:docs_target.commands = "QTDOC=$$QTDOC $$QDOC3 $$QDOCCONF"

Or you can write something more generic that works on Unix and Windows:
unix:set=export
else:set=set
docs_target.commands = "$$set QTDOC=$$QTDOC && $$QDOC3 $$QDOCCONF"

-- 
Link

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to