[kde-doc-english] [rsibreak/frameworks] /: compile the doc
Albert Astals Cid
aacid at kde.org
Sat Aug 1 23:52:48 UTC 2015
Git commit 4850b0ed36722d648f8d8265ca7c933a2a257ad2 by Albert Astals Cid.
Committed on 01/08/2015 at 23:52.
Pushed by aacid into branch 'frameworks'.
compile the doc
M +3 -1 CMakeLists.txt
M +1 -1 doc/CMakeLists.txt
M +1 -1 doc/index.docbook
http://commits.kde.org/rsibreak/4850b0ed36722d648f8d8265ca7c933a2a257ad2
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dbfd3aa..5bdd9ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,6 +11,7 @@ find_package(KF5 REQUIRED COMPONENTS
Config
ConfigWidgets
DBusAddons
+ DocTools
IconThemes
I18n
IdleTime
@@ -29,10 +30,11 @@ include(ECMAddAppIcon)
include(ECMInstallIcons)
add_subdirectory( icons )
+add_subdirectory( doc )
add_subdirectory( src )
# TODO
# if (PLASMA_FOUND)
# ADD_SUBDIRECTORY( plasma )
# endif (PLASMA_FOUND)
-feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
\ No newline at end of file
+feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 4bee8fb..477f00c 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1 +1 @@
-kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR rsibreak)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR rsibreak)
diff --git a/doc/index.docbook b/doc/index.docbook
index 472d95d..3ec0844 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.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
<!ENTITY rsibreak "RSIBreak">
<!ENTITY % English "INCLUDE" > <!-- change language only here -->
<!ENTITY % addindex "IGNORE">
More information about the kde-doc-english
mailing list