diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-09-03 12:29:15 +0300 |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-09-03 12:29:15 +0300 |
commit | c810859ac54eaa3cba8f0a860659e763eadefeef (patch) | |
tree | e1dcbd4ab06b3b108f495ba6fde5fe6de33f6cfa /qmake/generators | |
parent | 0a3ae605065c879493e17c83164b6770bd874532 (diff) | |
download | qt4-tools-c810859ac54eaa3cba8f0a860659e763eadefeef.tar.gz |
Renamed make 'sisx' target to 'sis' and QT_SISX_* variables to QT_SIS_*
Renaming done based feedback.
Reviewed-by: TrustMe
Diffstat (limited to 'qmake/generators')
-rw-r--r-- | qmake/generators/symbian/symmake.cpp | 38 | ||||
-rw-r--r-- | qmake/generators/symbian/symmake.h | 2 | ||||
-rw-r--r-- | qmake/generators/symbian/symmake_abld.cpp | 8 | ||||
-rw-r--r-- | qmake/generators/symbian/symmake_sbsv2.cpp | 2 |
4 files changed, 25 insertions, 25 deletions
diff --git a/qmake/generators/symbian/symmake.cpp b/qmake/generators/symbian/symmake.cpp index 519b2ed5e0..9ddd378f1b 100644 --- a/qmake/generators/symbian/symmake.cpp +++ b/qmake/generators/symbian/symmake.cpp @@ -72,10 +72,10 @@ #define MMP_TARGETTYPE "TARGETTYPE" #define MMP_SECUREID "SECUREID" -#define SISX_TARGET "sisx" -#define OK_SISX_TARGET "ok_sisx" -#define FAIL_SISX_NOPKG_TARGET "fail_sisx_nopkg" -#define FAIL_SISX_NOCACHE_TARGET "fail_sisx_nocache" +#define SIS_TARGET "sis" +#define OK_SIS_TARGET "ok_sis" +#define FAIL_SIS_NOPKG_TARGET "fail_sis_nopkg" +#define FAIL_SIS_NOCACHE_TARGET "fail_sis_nocache" #define RESTORE_BUILD_TARGET "restore_build" #define PRINT_FILE_CREATE_ERROR(filename) fprintf(stderr, "Error: Could not create '%s'\n", qPrintable(filename)); @@ -329,7 +329,7 @@ void SymbianMakefileGenerator::generatePkgFile(const QString &iconFile) t << ":\"Vendor\"" << endl << endl; } - // PKG pre-rules - these are added before actual file installations i.e. SISX package body + // PKG pre-rules - these are added before actual file installations i.e. SIS package body if (rawPkgPreRules.size()) { t << "; Manual PKG pre-rules from PRO files" << endl; foreach(QString item, rawPkgPreRules) { @@ -1632,36 +1632,36 @@ void SymbianMakefileGenerator::removeSpecialCharacters(QString& str) str.replace(QString(" "), QString("_")); } -void SymbianMakefileGenerator::writeSisxTargets(QTextStream &t) +void SymbianMakefileGenerator::writeSisTargets(QTextStream &t) { - t << SISX_TARGET ": " RESTORE_BUILD_TARGET << endl; - QString sisxcommand = QString("\t$(if $(wildcard %1_template.%2),$(if $(wildcard %3)," \ + t << SIS_TARGET ": " RESTORE_BUILD_TARGET << endl; + QString siscommand = QString("\t$(if $(wildcard %1_template.%2),$(if $(wildcard %3)," \ "$(MAKE) -s -f $(MAKEFILE) %4,$(MAKE) -s -f $(MAKEFILE) %5)," \ "$(MAKE) -s -f $(MAKEFILE) %6)") .arg(fixedTarget) .arg("pkg") .arg(MAKE_CACHE_NAME) - .arg(OK_SISX_TARGET) - .arg(FAIL_SISX_NOCACHE_TARGET) - .arg(FAIL_SISX_NOPKG_TARGET); - t << sisxcommand << endl; + .arg(OK_SIS_TARGET) + .arg(FAIL_SIS_NOCACHE_TARGET) + .arg(FAIL_SIS_NOPKG_TARGET); + t << siscommand << endl; t << endl; - t << OK_SISX_TARGET ":" << endl; + t << OK_SIS_TARGET ":" << endl; - QString pkgcommand = QString("\tcreatepackage.bat $(QT_SISX_OPTIONS) %1_template.%2 $(QT_SISX_TARGET) " \ - "$(QT_SISX_CERTIFICATE) $(QT_SISX_KEY) $(QT_SISX_PASSPHRASE)") + QString pkgcommand = QString("\tcreatepackage.bat $(QT_SIS_OPTIONS) %1_template.%2 $(QT_SIS_TARGET) " \ + "$(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)") .arg(fixedTarget) .arg("pkg"); t << pkgcommand << endl; t << endl; - t << FAIL_SISX_NOPKG_TARGET ":" << endl; - t << "\t$(error PKG file does not exist, 'SISX' target is only supported for executables or projects with DEPLOYMENT statement)" << endl; + t << FAIL_SIS_NOPKG_TARGET ":" << endl; + t << "\t$(error PKG file does not exist, 'SIS' target is only supported for executables or projects with DEPLOYMENT statement)" << endl; t << endl; - t << FAIL_SISX_NOCACHE_TARGET ":" << endl; - t << "\t$(error Project has to be build before calling 'SISX' target)" << endl; + t << FAIL_SIS_NOCACHE_TARGET ":" << endl; + t << "\t$(error Project has to be build before calling 'SIS' target)" << endl; t << endl; diff --git a/qmake/generators/symbian/symmake.h b/qmake/generators/symbian/symmake.h index b0ca5a3d31..0e5eb1403b 100644 --- a/qmake/generators/symbian/symmake.h +++ b/qmake/generators/symbian/symmake.h @@ -137,7 +137,7 @@ protected: const QString& itemPrefix, const QString& itemSuffix); - void writeSisxTargets(QTextStream &t); + void writeSisTargets(QTextStream &t); void generateDistcleanTargets(QTextStream& t); // Subclass implements diff --git a/qmake/generators/symbian/symmake_abld.cpp b/qmake/generators/symbian/symmake_abld.cpp index 31ef312535..bf98079da5 100644 --- a/qmake/generators/symbian/symmake_abld.cpp +++ b/qmake/generators/symbian/symmake_abld.cpp @@ -153,7 +153,7 @@ void SymbianAbldMakefileGenerator::writeMkFile(const QString& wrapperFileName, b QString makefile(Option::fixPathToTargetOS(fileInfo(wrapperFileName).canonicalFilePath())); foreach(QString target, wrapperTargets) { t << target << " : " << makefile << endl; - t << "\t-$(MAKE) -f \"" << makefile << "\" " << target << " QT_SISX_TARGET=$(VISUAL_CFG)-$(PLATFORM)" << endl << endl; + t << "\t-$(MAKE) -f \"" << makefile << "\" " << target << " QT_SIS_TARGET=$(VISUAL_CFG)-$(PLATFORM)" << endl << endl; } t << endl; @@ -361,7 +361,7 @@ void SymbianAbldMakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, bool writeDeploymentTargets(t); - writeSisxTargets(t); + writeSisTargets(t); writeStoreBuildTarget(t); @@ -428,12 +428,12 @@ void SymbianAbldMakefileGenerator::writeStoreBuildTarget(QTextStream &t) t << "\t@echo # Name : " << MAKE_CACHE_NAME << " >> " MAKE_CACHE_NAME << endl; t << "\t@echo # Part of : " << project->values("TARGET").join(" ") << " >> " MAKE_CACHE_NAME << endl; t << "\t@echo # Description : This file is used to cache last build target for >> " MAKE_CACHE_NAME << endl; - t << "\t@echo # make sisx target. >> " MAKE_CACHE_NAME << endl; + t << "\t@echo # make sis target. >> " MAKE_CACHE_NAME << endl; t << "\t@echo # Version : >> " MAKE_CACHE_NAME << endl; t << "\t@echo # >> " MAKE_CACHE_NAME << endl; t << "\t@echo # ============================================================================== >> " MAKE_CACHE_NAME << endl; t << "\t@echo. >> " MAKE_CACHE_NAME << endl; - t << "\t@echo QT_SISX_TARGET ?= $(QT_SISX_TARGET) >> " MAKE_CACHE_NAME << endl; + t << "\t@echo QT_SIS_TARGET ?= $(QT_SIS_TARGET) >> " MAKE_CACHE_NAME << endl; t << endl; generatedFiles << MAKE_CACHE_NAME; diff --git a/qmake/generators/symbian/symmake_sbsv2.cpp b/qmake/generators/symbian/symmake_sbsv2.cpp index a76d95959f..a1381c648a 100644 --- a/qmake/generators/symbian/symmake_sbsv2.cpp +++ b/qmake/generators/symbian/symmake_sbsv2.cpp @@ -216,7 +216,7 @@ void SymbianSbsv2MakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, boo qDeleteAll(subtargets); } - writeSisxTargets(t); + writeSisTargets(t); generateDistcleanTargets(t); |