From ee87607a26b96745bef46112e9a6591f2f392987 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <daniel.molkentin@nokia.com>
Date: Tue, 4 May 2010 16:18:52 +0200
Subject: [PATCH] add doc template file to replaceVersion.

Reviewed-by: con
---
 scripts/replaceVersion.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/scripts/replaceVersion.sh b/scripts/replaceVersion.sh
index cab354299c5..0e7dc87ebe1 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`
-- 
GitLab