Commit 0479ca18 authored by hausmann's avatar hausmann
Browse files

Fix DocTypeStrings.cpp generation to work on Windows with cmd.exe


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 60275482
2007-07-27 Simon Hausmann <hausmann@kde.org>
Done with and reviewed by Lars and Zack.
Fix DocTypeStrings.cpp generation to work on Windows with cmd.exe
* WebCore.pro:
2007-07-27 Simon Hausmann <hausmann@kde.org>
 
Reviewed by Lars.
......@@ -1405,7 +1405,7 @@ QMAKE_EXTRA_COMPILERS += entities
# PRE-GENERATOR 8-B:
doctypestrings.target = $$OUTPUT_DIR/WebCore/tmp/DocTypeStrings.cpp
doctypestrings.commands = echo \"$${LITERAL_HASH}include <string.h>\" > $$doctypestrings.target && gperf -CEot -L ANSI-C -k \'*\' -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards < $$PWD/html/DocTypeStrings.gperf >> $$doctypestrings.target
doctypestrings.commands = perl -e \"print \'$${LITERAL_HASH}include <string.h>\';\" > $$doctypestrings.target && echo // bogus >> $$doctypestrings.target && gperf -CEot -L ANSI-C --key-positions="*" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards < $$PWD/html/DocTypeStrings.gperf >> $$doctypestrings.target
QMAKE_EXTRA_TARGETS += doctypestrings
PRE_TARGETDEPS += $$OUTPUT_DIR/WebCore/tmp/DocTypeStrings.cpp
CLEAN_FILES += $$doctypestrings.target
......
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