Commit f1fb27aa authored by hausmann's avatar hausmann
Browse files

Fix header guard generation for CSSGrammar.h under Windows


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ca5e14e6
2007-07-27 Simon Hausmann <hausmann@kde.org>
Done with and reviewed by Lars and Zack.
Fix header guard generation for CSSGrammar.h under Windows
* WebCore.pro:
2007-07-27 Simon Hausmann <hausmann@kde.org>
 
Done with and reviewed by Lars and Zack.
......@@ -1328,8 +1328,8 @@ tokenizer.CONFIG += target_predeps no_link
QMAKE_EXTRA_COMPILERS += tokenizer
# GENERATOR 4: CSS grammar
CSS_GRAMMAR_GUARD_A = \'\\043ifndef CSSGRAMMAR_H\\n\\043define CSSGRAMMAR_H\\n\'
CSS_GRAMMAR_GUARD_B = \'\\043endif\\n\'
CSS_GRAMMAR_GUARD_A = \\\"\\043ifndef CSSGRAMMAR_H\\n\\043define CSSGRAMMAR_H\\n\\\"
CSS_GRAMMAR_GUARD_B = \\\"\\043endif\\n\\\"
cssbison.output = tmp/${QMAKE_FILE_BASE}.cpp
cssbison.commands = bison -d -p cssyy ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_BASE}.tab.c && mv ${QMAKE_FILE_BASE}.tab.c tmp/${QMAKE_FILE_BASE}.cpp && touch tmp/${QMAKE_FILE_BASE}.h && perl -e \"printf $$CSS_GRAMMAR_GUARD_A\" > tmp/${QMAKE_FILE_BASE}.h && cat ${QMAKE_FILE_BASE}.tab.h >> tmp/${QMAKE_FILE_BASE}.h && perl -e \"printf $$CSS_GRAMMAR_GUARD_B\" >> tmp/${QMAKE_FILE_BASE}.h && $(DEL_FILE) ${QMAKE_FILE_BASE}.tab.h
cssbison.depend = ${QMAKE_FILE_NAME}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment