[GTK] HTML API documentation should also be installed versioned
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Aug 2014 09:16:07 +0000 (09:16 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Aug 2014 09:16:07 +0000 (09:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=135970

Reviewed by Philippe Normand.

* Source/PlatformGTK.cmake: Append -${WEBKITGTK_API_VERSION} to
the directory name.

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

ChangeLog
Source/PlatformGTK.cmake

index 40a59ae..9bc09f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2014-08-15  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [GTK] HTML API documentation should also be installed versioned
+        https://bugs.webkit.org/show_bug.cgi?id=135970
+
+        Reviewed by Philippe Normand.
+
+        * Source/PlatformGTK.cmake: Append -${WEBKITGTK_API_VERSION} to
+        the directory name.
+
 2014-08-14  Tomas Popela  <tpopela@redhat.com>
 
         Add support for ppc, ppc64, ppc64le, s390, s390x into the CMake build
index fd714d7..c960bf8 100644 (file)
@@ -14,10 +14,10 @@ endif ()
 
 if (ENABLE_GTKDOC)
     install(DIRECTORY ${CMAKE_BINARY_DIR}/Documentation/webkit2gtk/html/
-            DESTINATION ${CMAKE_INSTALL_DATADIR}/gtk-doc/html/webkit2gtk
+            DESTINATION "${CMAKE_INSTALL_DATADIR}/gtk-doc/html/webkit2gtk-${WEBKITGTK_API_VERSION}"
     )
     install(DIRECTORY ${CMAKE_BINARY_DIR}/Documentation/webkitdomgtk/html/
-            DESTINATION ${CMAKE_INSTALL_DATADIR}/gtk-doc/html/webkitdomgtk
+            DESTINATION "${CMAKE_INSTALL_DATADIR}/gtk-doc/html/webkitdomgtk-${WEBKITGTK_API_VERSION}"
     )
 endif ()