[kmplayer/0.12] doc: doc macros and DTD: adapt to Frameworks
Luigi Toscano
null at kde.org
Sat May 13 23:43:51 UTC 2017
Git commit 7433eaed9a8ee7f8146a90dc2b80103fffd428c6 by Luigi Toscano.
Committed on 13/05/2017 at 23:28.
Pushed by ltoscano into branch '0.12'.
doc macros and DTD: adapt to Frameworks
- use the macro provided by KDocTools and the destination
variable provided by ECM;
- use the new DTD in the docbook file.
M +1 -1 doc/CMakeLists.txt
M +1 -1 doc/index.docbook
https://commits.kde.org/kmplayer/7433eaed9a8ee7f8146a90dc2b80103fffd428c6
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 3481b83..d3ed5ba 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1 +1 @@
-kde4_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kmplayer)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kmplayer)
diff --git a/doc/index.docbook b/doc/index.docbook
index 7ce5d7d..a7add69 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 kmplayer "<application>KMPlayer</application>">
<!ENTITY kappname "&kmplayer;"><!-- replace kmplayer here -->
<!ENTITY package "kdeextragear-2">
More information about the kde-doc-english
mailing list