sanitize install target names
qmake uses the variable name verbatim, which makes the generated makefile look "interesting" without this cleanup. Change-Id: If6c4f12563a0ee6429513fbfac534f40bb7c0b97 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
2dd6f1467f
commit
12c8909883
@ -97,7 +97,11 @@ contains(INSTALLS, target) {
|
||||
# ...
|
||||
#
|
||||
for(file, TESTDATA) {
|
||||
tdi = testdata_install_$${file}
|
||||
tnam = $$file
|
||||
tnam ~= s,\\.\\.,dotdot,
|
||||
tnam ~= s,[?*],wildcard,
|
||||
tnam ~= s,[^A-Za-z0-9],_,
|
||||
tdi = testdata_$$tnam
|
||||
tdif = $${tdi}.files
|
||||
tdip = $${tdi}.path
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user