summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2010-05-04 16:18:52 +0200
committerDaniel Molkentin <daniel.molkentin@nokia.com>2010-05-04 16:25:59 +0200
commit241d471218cdb9c7db55d1333a18a4258d444619 (patch)
tree189053840b57f914db494ffa3bf169c8278c81e1 /scripts
parentab309f31e4a7eb0d21dca6d82d3ebfe1629bb5ca (diff)
downloadqt-creator-241d471218cdb9c7db55d1333a18a4258d444619.tar.gz
add doc template file to replaceVersion.
Reviewed-by: con
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/replaceVersion.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/replaceVersion.sh b/scripts/replaceVersion.sh
index cab354299c..0e7dc87ebe 100755
--- a/scripts/replaceVersion.sh
+++ b/scripts/replaceVersion.sh
@@ -101,6 +101,16 @@ sed \
"${QDOCCONF}" > "${TMPFILE}"
mv -f "${TMPFILE}" "${QDOCCONF}"
+## Patch qt-html-templates.qdocconf
+TMPFILE=`mktemp versionPatch.XXXXXX`
+QDOCCONF="${SCRIPT_DIR}/doc/qt-html-templates.qdocconf"
+echo "Patching \`${QDOCCONF}'"
+sed \
+ -e "s/"${OLD_DOT_THREE}"/"${NEW_DOT_THREE}"/" \
+ -e "s/"${OLD_THREE}"/"${NEW_THREE}"/" \
+ "${QDOCCONF}" > "${TMPFILE}"
+mv -f "${TMPFILE}" "${QDOCCONF}"
+
## Patch qtcreator.qdoc
TMPFILE=`mktemp versionPatch.XXXXXX`