[kde-doc-english] [kphotoalbum/kf5-port] /: Reenable documentation
Luigi Toscano
luigi.toscano at tiscali.it
Sat Apr 16 15:15:30 UTC 2016
Git commit ee0a270d167cbc068ae1d3f54a68d89f577e0da1 by Luigi Toscano.
Committed on 16/04/2016 at 15:11.
Pushed by ltoscano into branch 'kf5-port'.
Reenable documentation
- use the macro and the native DTD for KDocTools
- actually depend on KF5::DocTools
M +1 -1 CMakeLists.txt
M +1 -2 doc/CMakeLists.txt
M +1 -1 doc/index.docbook
http://commits.kde.org/kphotoalbum/ee0a270d167cbc068ae1d3f54a68d89f577e0da1
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0802991..c055ad9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@ include(FeatureSummary)
find_package(Qt5 REQUIRED COMPONENTS Sql Xml Widgets Network)
find_package(Phonon4Qt5 REQUIRED)
-find_package(KF5 REQUIRED COMPONENTS CoreAddons I18n KIO WidgetsAddons Config IconThemes KDELibs4Support Archive Parts)
+find_package(KF5 REQUIRED COMPONENTS CoreAddons I18n KIO DocTools WidgetsAddons Config IconThemes KDELibs4Support Archive Parts)
# enable exceptions:
kde_enable_exceptions()
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 28d6a77..8f599c6 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,4 +1,3 @@
-# 2016-02-21 TODO ZaJ: change this to its KF5-equivalent:
-#KDE4_CREATE_HANDBOOK(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kphotoalbum)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kphotoalbum)
# vi:expandtab:tabstop=4 shiftwidth=4:
diff --git a/doc/index.docbook b/doc/index.docbook
index d98805e..523c9cf 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 kphotoalbum "<application>KPhotoAlbum</application>">
<!ENTITY kappname "&kphotoalbum;">
<!ENTITY package "extragear-graphics">
More information about the kde-doc-english
mailing list