make top-level symlinks in bundles point to Current, not the major version

Current already points to the major version, and the other symlinks are
supposed to take advantage of that (so a hypothetical change of major
versions requires just one symlink to be adjusted).

https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html

Task-number: QTBUG-32895
Change-Id: I3c3a38c72ba18de6e48b20f2662341672022a274
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
Oswald Buddenhagen 2014-09-25 15:28:53 +02:00
parent b56ff1f394
commit e9c1e3076c

View File

@ -794,7 +794,8 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t)
bundledFiles << link;
t << link << ": \n\t"
<< mkdir_p_asstring(path) << "\n\t"
<< "@$(SYMLINK) " << version << project->first(pkey) << " " << path << endl;
<< "@$(SYMLINK) " << project->first(vkey) + "/Current/" << project->first(pkey)
<< " " << path << endl;
path += version;
}
path += project->first(pkey).toQString();