mkspecs/docml2bin.prf
author Vesa Rantanen <vesa.rantanen@nokia.com>
Thu, 15 Jul 2010 14:03:49 +0100
branchGCC_SURGE
changeset 9 730c025d4b77
parent 2 06ff229162e9
child 3 11d3954df52a
permissions -rw-r--r--
Supply missing def directories, to fix Bug 3265 (from def_files-hb-release-afe513198e84-2010wk25_rel.tar)

include(hb_install.prf)
include(hb_functions.prf)

QMAKE_DOCML2BIN = $$hbNativePath($${HB_BIN_DIR}/docml2bin)
 
docml2bin.input = DOCML
docml2bin.output = ${QMAKE_FILE_IN}.bin
docml2bin.commands = "$$QMAKE_DOCML2BIN" -s "${QMAKE_FILE_IN}" -t "${QMAKE_FILE_OUT}"
docml2bin.name = DOCML2BIN ${QMAKE_FILE_IN}
docml2bin.CONFIG = no_link

rcc.depends += compiler_docml2bin_make_all

## how to add ".bin" for each variable?
#rcc.depends += for(DOCMLFILE, $$list(DOCML)) { DOCMLFILE }
#rcc.depends += $${first(DOCML)}.bin
#rcc.depends += $${last(DOCML)}.bin

QMAKE_EXTRA_COMPILERS += docml2bin