make TR_EXCLUDE work for SUBDIRS
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Tue, 25 Jun 2013 15:44:35 +0000 (17:44 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 7 Aug 2013 15:04:02 +0000 (17:04 +0200)
commit1ebe6b8fec84591c32f70fdcfafc92fda037e84d
tree4502e7bf36528a369c4fe73ea9e36d9383f4b826
parent226f013441990aa4a58f7c82e284057cff659959
make TR_EXCLUDE work for SUBDIRS

this is needed for excluding subprojects we have no direct control over,
e.g., git submodules.

note that unlike TR_EXCLUDE for files, this matches SUBDIRS entries, not
actual project file names. wildcards also work, though.

Change-Id: I1d0a0410a28af4a60f045ee5bbac34540c14f0bd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/linguist/lupdate/main.cpp
tests/auto/linguist/lupdate/testdata/good/proparsingsubs/excluded/excluded.pro [new file with mode: 0644]
tests/auto/linguist/lupdate/testdata/good/proparsingsubs/excluded/main.cpp [new file with mode: 0644]
tests/auto/linguist/lupdate/testdata/good/proparsingsubs/project.pro