[kde-doc-english] [artikulate/frameworks] /: Port docbook.
Andreas Cord-Landwehr
cordlandwehr at kde.org
Sun Aug 10 20:39:56 UTC 2014
Git commit 35095a9ad96e9b2486a662bf02f0730ef5dd07be by Andreas Cord-Landwehr.
Committed on 10/08/2014 at 20:09.
Pushed by cordlandwehr into branch 'frameworks'.
Port docbook.
M +2 -1 CMakeLists.txt
M +25 -1 doc/CMakeLists.txt
M +1 -1 doc/index.docbook
http://commits.kde.org/artikulate/35095a9ad96e9b2486a662bf02f0730ef5dd07be
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 047fdce..403d04b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,6 +27,7 @@ project(artikulate)
cmake_minimum_required(VERSION 2.8.12)
find_package(ECM 1.0.0 REQUIRED NO_MODULE)
+find_package(KF5DocTools)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
include(KDEInstallDirs)
@@ -57,7 +58,7 @@ find_package(KF5 CONFIG REQUIRED COMPONENTS
# subdirectories to build
ecm_optional_add_subdirectory(data)
ecm_optional_add_subdirectory(schemes)
-# ecm_optional_add_subdirectory(doc) //FIXME
+ecm_optional_add_subdirectory(doc)
ecm_optional_add_subdirectory(src)
ecm_optional_add_subdirectory(sounds)
ecm_optional_add_subdirectory(images)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 5d1563b..2be8f2f 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,2 +1,26 @@
-kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR artikulate)
+###
+# Copyright 2013-2014 Andreas Cord-Landwehr <cordlandwehr at kde.org>
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+###
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR artikulate)
diff --git a/doc/index.docbook b/doc/index.docbook
index b5f9ba1..e77e4a3 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
<!ENTITY artikulate "Artikulate">
<!ENTITY kappname "&artikulate;">
More information about the kde-doc-english
mailing list