Changeset 962 for trunk/qmake/generators/makefile.cpp
- Timestamp:
- Aug 11, 2011, 2:11:32 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/generators/makefile.cpp
r909 r962 1252 1252 QStringList &l = project->values(installs); 1253 1253 for(QStringList::Iterator it = l.begin(); it != l.end(); ++it) { 1254 1254 1255 QString pvar = (*it) + ".path"; 1255 if( project->values((*it) + ".CONFIG").indexOf("no_path") == -1 &&1256 project->values((*it) + ".CONFIG").indexOf("dummy_install") == -1 &&1256 if(.indexOf("no_path") == -1 && 1257 .indexOf("dummy_install") == -1 && 1257 1258 project->values(pvar).isEmpty()) { 1258 1259 warn_msg(WarnLogic, "%s is not defined: install target not created\n", pvar.toLatin1().constData()); … … 1263 1264 const QString root = "$(INSTALL_ROOT)"; 1264 1265 QString target, dst; 1265 if( project->values((*it) + ".CONFIG").indexOf("no_path") == -1 &&1266 project->values((*it) + ".CONFIG").indexOf("dummy_install") == -1) {1266 if(.indexOf("no_path") == -1 && 1267 .indexOf("dummy_install") == -1) { 1267 1268 dst = fileFixify(unescapeFilePath(project->values(pvar).first()), FileFixifyAbsolute, false); 1268 1269 } … … 1283 1284 } 1284 1285 //masks 1285 tmp = findFilesInVPATH(project->values((*it) + ".files"), VPATH_NoFixify); 1286 tmp = fileFixify(tmp, FileFixifyAbsolute); 1286 tmp = project->values((*it) + ".files"); 1287 if(!installConfigValues.contains("no_vpath")) 1288 tmp = findFilesInVPATH(tmp, VPATH_NoFixify); 1289 if(!installConfigValues.contains("no_fixify")) 1290 tmp = fileFixify(tmp, FileFixifyAbsolute); 1287 1291 if(!tmp.isEmpty()) { 1288 1292 if(!target.isEmpty()) … … 1333 1337 QString local_dirstr = Option::fixPathToLocalOS(dirstr, true); 1334 1338 QStringList files = QDir(local_dirstr).entryList(QStringList(filestr)); 1335 const QStringList &installConfigValues = project->values((*it) + ".CONFIG");1336 1339 if (installConfigValues.contains("no_check_exist") && files.isEmpty()) { 1337 1340 if(!target.isEmpty()) … … 1391 1394 } 1392 1395 1393 if(!target.isEmpty() || project->values((*it) + ".CONFIG").indexOf("dummy_install") != -1) {1394 if(noBuild || project->values((*it) + ".CONFIG").indexOf("no_build") != -1)1396 if(!target.isEmpty() || .indexOf("dummy_install") != -1) { 1397 if(noBuild || .indexOf("no_build") != -1) 1395 1398 t << "install_" << (*it) << ":"; 1396 1399 else if(project->isActiveConfig("build_all")) … … 1428 1431 t << endl; 1429 1432 1430 if( project->values((*it) + ".CONFIG").indexOf("no_default_install") == -1) {1433 if(.indexOf("no_default_install") == -1) { 1431 1434 all_installs += QString("install_") + (*it) + " "; 1432 1435 if(!uninst.isEmpty())
Note:
See TracChangeset
for help on using the changeset viewer.