QmlJS: Document script to generate parser copy.

Change-Id: Ib35f718fef7a9621247dbc468bcfa4f3ea425c50
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
Thomas Hartmann
2012-09-10 13:08:23 +02:00
parent 19a7f66df3
commit 80409cad95

View File

@@ -1,5 +1,15 @@
#!/bin/bash
# This is the script that generates the copy of the QmlJS parser from the sources
# in the qtdeclarative source tree.
#
# It applies a bunch of renames to make the source compatible with the Qt Creator
# sources as well as rewrites of the licenses.
#
# Example:
# cd src/libs/qmljs/parser
# QTDIR=~/path/to/qtdeclarative-checkout ./gen-parser.sh
me=$(dirname $0)
for i in $QTDIR/src/qml/qml/parser/*.{g,h,cpp,pri}; do