From: Oswald Buddenhagen Date: Sat, 10 Mar 2012 09:04:04 +0000 (+0100) Subject: sanitize install target names X-Git-Tag: qt-v5.0.0-alpha1~388 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12c89098832de7475ad6ad11fe92f50b13f713f4;p=profile%2Fivi%2Fqtbase.git 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 --- diff --git a/mkspecs/features/testcase.prf b/mkspecs/features/testcase.prf index 9bb9875..b00d155 100644 --- a/mkspecs/features/testcase.prf +++ b/mkspecs/features/testcase.prf @@ -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