[juk/frameworks] doc: doc: fix DTD, dest variable; remove outdated entities

Luigi Toscano null at kde.org
Fri Aug 25 07:27:32 UTC 2017


Git commit ebfe00902ace091eebe3519ea1f094663843db61 by Luigi Toscano.
Committed on 25/08/2017 at 07:26.
Pushed by ltoscano into branch 'frameworks'.

doc: fix DTD, dest variable; remove outdated entities

- port to the native DTD for KF5 (remove a dependency
  on KDELibs4Support);
- use the new variables for the destination directory (ECM-native;
  the old one would still work even in pure Qt5 environment,
  but let's clean it up);
- remove few useless entities from the DTD.

M  +1    -1    doc/CMakeLists.txt
M  +1    -3    doc/index.docbook

https://commits.kde.org/juk/ebfe00902ace091eebe3519ea1f094663843db61

diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 04de757..8d9adee 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,2 +1,2 @@
 ########### install files ###############
-kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en  SUBDIR juk)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en  SUBDIR juk)
diff --git a/doc/index.docbook b/doc/index.docbook
index 1e27176..3ff0751 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1,7 +1,5 @@
 <?xml version="1.0" ?>
-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
-  <!ENTITY package "kdemultimedia">
-  <!ENTITY kappname "&juk;">
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
   <!ENTITY juk "<application>JuK</application>">
   <!ENTITY % addindex "IGNORE">
   <!ENTITY % English "INCLUDE">


More information about the kde-doc-english mailing list