Commit 8387aafd authored by vestbo@webkit.org's avatar vestbo@webkit.org

[Qt] Make 'make -f Makefile.DerivedSources qmake' work

Reviewed by Lars Knoll.

Previously this target ended up generating a file named
Makefile.DerivedSources.DerivedSources, and so on.

* DerivedSources.pro:

git-svn-id: svn://svn.chromium.org/blink/trunk@54412 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent e878da75
2010-02-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
Reviewed by Lars Knoll.
[Qt] Make 'make -f Makefile.DerivedSources qmake' work
Previously this target ended up generating a file named
Makefile.DerivedSources.DerivedSources, and so on.
* DerivedSources.pro:
2010-02-04 Christian Dywan <christian@twotasts.de>
Reviewed by Xan Lopez.
......
......@@ -7,7 +7,8 @@ SUBDIRS += \
for(subpro, SUBDIRS) {
subdir = $${dirname(subpro)}
subtarget = $$replace(subdir, [^A-Za-z0-9], _)
subtarget = $$replace(subpro, [^a-zA-Z0-9_], -)
eval($${subtarget}.makefile = "Makefile.DerivedSources")
eval(generated_files-$${subtarget}.commands = (cd $$subdir && $(MAKE) -f Makefile.DerivedSources generated_files))
QMAKE_EXTRA_TARGETS += generated_files-$${subtarget}
generated_files.depends += generated_files-$${subtarget}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment