2010-05-03 Abhishek Arya <inferno@chromium.org>
[WebKit-https.git] / DerivedSources.pro
index 59edaa5..d1a4802 100644 (file)
@@ -3,11 +3,13 @@ CONFIG += ordered
 
 SUBDIRS += \
         JavaScriptCore/DerivedSources.pro \
-        WebCore/DerivedSources.pro
+        WebCore/DerivedSources.pro \
+        WebKit/qt/Api/DerivedSources.pro
 
 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}