Permalink
Browse files

[Qt] Make it possible (on *nix at least) to recursively call "make ge…

…nerated_files"

Reviewed by Tor Arne Vestbø.

* DerivedSources.pro:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information...
hausmann@webkit.org
hausmann@webkit.org committed Jan 20, 2010
1 parent 6993682 commit 8c9b098fd5c4094c3dba2971083831defb58cc78
Showing with 17 additions and 0 deletions.
  1. +8 −0 ChangeLog
  2. +9 −0 DerivedSources.pro
View
@@ -1,3 +1,11 @@
+2010-01-20 Simon Hausmann <simon.hausmann@nokia.com>
+
+ Reviewed by Tor Arne Vestbø.
+
+ [Qt] Make it possible (on *nix at least) to recursively call "make generated_files"
+
+ * DerivedSources.pro:
+
2010-01-19 Gustavo Noronha Silva <gns@gnome.org>
Unreviewed. Shared library versioning update for 1.1.19.
View
@@ -5,3 +5,12 @@ SUBDIRS += \
JavaScriptCore/DerivedSources.pro \
WebCore/DerivedSources.pro
+for(subpro, SUBDIRS) {
+ subdir = $${dirname(subpro)}
+ subtarget = $$replace(subdir, [^A-Za-z0-9], _)
+ 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}
+}
+
+QMAKE_EXTRA_TARGETS += generated_files

0 comments on commit 8c9b098

Please sign in to comment.