diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-01-28 14:32:33 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-01-28 14:35:05 (GMT) |
commit | be4d3182e48dcae70837f26d76dd449d914e8cb3 (patch) | |
tree | f22919fbaa81448b9b1ff0f82f9bcd18a6e54633 /qmake/generators | |
parent | 97503dfd7fad9c8023b2f9632e6ef865ccd0cad8 (diff) | |
download | Qt-be4d3182e48dcae70837f26d76dd449d914e8cb3.zip Qt-be4d3182e48dcae70837f26d76dd449d914e8cb3.tar.gz Qt-be4d3182e48dcae70837f26d76dd449d914e8cb3.tar.bz2 |
Fix generated mif file cleaning in symbian-abld
Mif file cleaning was incorrectly done at distclean phase.
Task-number: QTBUG-16893
Reviewed-by: axis
Diffstat (limited to 'qmake/generators')
-rw-r--r-- | qmake/generators/symbian/symmake_abld.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qmake/generators/symbian/symmake_abld.cpp b/qmake/generators/symbian/symmake_abld.cpp index 5729e26..b582257 100644 --- a/qmake/generators/symbian/symmake_abld.cpp +++ b/qmake/generators/symbian/symmake_abld.cpp @@ -190,6 +190,7 @@ void SymbianAbldMakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, bool t << "QMAKE = " << var("QMAKE_QMAKE") << endl; t << "DEL_FILE = " << var("QMAKE_DEL_FILE") << endl; t << "DEL_DIR = " << var("QMAKE_DEL_DIR") << endl; + t << "DEL_TREE = " << var("QMAKE_DEL_TREE") << endl; t << "MOVE = " << var("QMAKE_MOVE") << endl; t << "CHK_DIR_EXISTS = " << var("QMAKE_CHK_DIR_EXISTS") << endl; t << "MKDIR = " << var("QMAKE_MKDIR") << endl; @@ -329,7 +330,8 @@ void SymbianAbldMakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, bool // Note: EXTENSION_CLEAN will get called many times when doing reallyclean // This is why the "2> NUL" gets appended to generated clean targets in makefile.cpp. t << EXTENSION_CLEAN ": " COMPILER_CLEAN_TARGET << endl; - generateCleanCommands(t, dirsToClean, var("QMAKE_DEL_TREE"), "", "", ""); + generateCleanCommands(t, dirsToClean, "$(DEL_TREE)", "", "", ""); + generateCleanCommands(t, project->values("QMAKE_CLEAN"), "$(DEL_FILE)", "", "", ""); t << endl; t << PRE_TARGETDEPS_TARGET ":" |