aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLuigi Toscano <luigi.toscano@tiscali.it>2010-06-04 21:36:35 +0000
committerLuigi Toscano <luigi.toscano@tiscali.it>2010-06-04 21:36:35 +0000
commit0f23ee767198999f8feac7d4053a78dbaec24409 (patch)
treede32948c69cba5eb34a468b28f968e050237ee29 /modules
parent81c41f4b3b7b93e461e6ccb94c67d4f60d091e50 (diff)
downloadextra-cmake-modules-0f23ee767198999f8feac7d4053a78dbaec24409.tar.gz
extra-cmake-modules-0f23ee767198999f8feac7d4053a78dbaec24409.tar.bz2
External DocBook, step 1: remove embedded XML DTDs
This commit removes the embedded copy of the currently used XML DTDs (4.2), and uses the external DTD instead. If you compile and update your existing installation, you can safely remove the existing $KDEDIR/share/kde4/apps/ksgmltools2/docbook/xml-dtd-4.2. The code does not use catalog.xml anymore, as our custom DTD (kdex.dtd) includes (or seems to include) all the needed files directly or indirectly. As kdex.dtd is generated dynamically (it depends on the path to system-installed DTD), in order to generate the documentation during the bootstrap phase (kdelibs documentation) the content of customization/ needs to be copied in the builddir and this copy (from the builddir itself) is used for the generation. svn path=/trunk/KDE/kdelibs/; revision=1134669
Diffstat (limited to 'modules')
-rw-r--r--modules/KDE4Macros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake
index bf130ab8..4a5c955c 100644
--- a/modules/KDE4Macros.cmake
+++ b/modules/KDE4Macros.cmake
@@ -282,7 +282,7 @@ macro (KDE4_CREATE_HANDBOOK _docbook)
#Bootstrap
if (_kdeBootStrapping)
set(_ssheet ${CMAKE_SOURCE_DIR}/kdoctools/customization/kde-chunk.xsl)
- set(_bootstrapOption "--srcdir=${CMAKE_SOURCE_DIR}/kdoctools/")
+ set(_bootstrapOption "--srcdir=${CMAKE_BINARY_DIR}/kdoctools/")
else (_kdeBootStrapping)
set(_ssheet ${KDE4_DATA_INSTALL_DIR}/ksgmltools2/customization/kde-chunk.xsl)
set(_bootstrapOption)
@@ -361,7 +361,7 @@ macro (KDE4_CREATE_MANPAGE _docbook _section)
#Bootstrap
if (_kdeBootStrapping)
set(_ssheet "${CMAKE_SOURCE_DIR}/kdoctools/docbook/xsl/manpages/docbook.xsl")
- set(_bootstrapOption "--srcdir=${CMAKE_SOURCE_DIR}/kdoctools/")
+ set(_bootstrapOption "--srcdir=${CMAKE_BINARY_DIR}/kdoctools/")
else (_kdeBootStrapping)
set(_ssheet "${KDE4_DATA_INSTALL_DIR}/ksgmltools2/docbook/xsl/manpages/docbook.xsl")
set(_bootstrapOption)