mkspecs/docml2bin.prf
changeset 30 80e4d18b72f5
parent 23 e6ad4ef83b23
--- a/mkspecs/docml2bin.prf	Fri Sep 17 08:32:10 2010 +0300
+++ b/mkspecs/docml2bin.prf	Mon Oct 04 00:38:12 2010 +0300
@@ -3,7 +3,7 @@
 include(hb_functions.prf)
 
 QMAKE_DOCML2BIN = $$hbToolCommand(docml2bin) 
- 
+
 docml2bin.input = DOCML
 docml2bin.output = ${QMAKE_FILE_IN}.bin
 docml2bin.commands = "$$QMAKE_DOCML2BIN" -s "${QMAKE_FILE_IN}" -t "${QMAKE_FILE_OUT}"
@@ -12,19 +12,8 @@
 
 for(DOCMLFILE, $$list($$unique(DOCML))) {
     DOCMLFILE_PWD = $${_PRO_FILE_PWD_}/$${DOCMLFILE}
+    symbian:PRE_TARGETDEPS += $${DOCMLFILE_PWD}.bin
     rcc.depends += $${DOCMLFILE_PWD}.bin
-
-    DOCML2BINEXTENSION = \
-        "START EXTENSION qt/qmake_extra_pre_targetdep.export" \
-        "OPTION PREDEP_TARGET $${DOCMLFILE_PWD}.bin" \
-        "OPTION DEPS $${DOCMLFILE_PWD}" \
-        "OPTION COMMAND $${QMAKE_DOCML2BIN} -s $${DOCMLFILE_PWD} -t $${DOCMLFILE_PWD}.bin" \
-        "END"
-    symbian_test {
-        BLD_INF_RULES.prj_testextensions += $$DOCML2BINEXTENSION
-    } else {
-        BLD_INF_RULES.prj_extensions += $$DOCML2BINEXTENSION
-    }
 }
 
 QMAKE_EXTRA_COMPILERS += docml2bin