Unreviewed GTK/CMake build fix: use the correct location for docs-build.stamp
authorgns@gnome.org <gns@gnome.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Jan 2014 15:29:17 +0000 (15:29 +0000)
committergns@gnome.org <gns@gnome.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Jan 2014 15:29:17 +0000 (15:29 +0000)
in output and dependencies declarations, so docs are not built needlessly
every build.

Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2014-01-07

* Source/PlatformGTK.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161426 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/PlatformGTK.cmake

index 8eae0c3..eb29af2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-01-07  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
+
+        Unreviewed GTK/CMake build fix: use the correct location for docs-build.stamp
+        in output and dependencies declarations, so docs are not built needlessly
+        every build.
+
+        * Source/PlatformGTK.cmake:
+
 2014-01-04  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         [GTK] Move all GTK/GObject unit tests to Tools/TestWebKitAPI
index 6d29e82..b819246 100644 (file)
@@ -30,7 +30,7 @@ if (ENABLE_WEBKIT2)
 endif ()
 
 add_custom_command(
-    OUTPUT docs-build.stamp
+    OUTPUT "${CMAKE_BINARY_DIR}/docs-build.stamp"
     DEPENDS ${DocumentationDependencies}
     COMMAND CC="${CMAKE_C_COMPILER}" ${CMAKE_SOURCE_DIR}/Tools/gtk/generate-gtkdoc
     COMMAND touch docs-build.stamp
@@ -38,7 +38,7 @@ add_custom_command(
 )
 
 add_custom_target(fake-docs-target ALL
-    DEPENDS docs-build.stamp
+    DEPENDS "${CMAKE_BINARY_DIR}/docs-build.stamp"
 )
 
 if (ENABLE_WEBKIT)