[frameworks-kdoctools] [Bug 357428] kf5-kdoctools: several issues with kdoctools_install()

MaxiPunkt bugzilla_noreply at kde.org
Wed Dec 28 10:59:35 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=357428

--- Comment #17 from MaxiPunkt <maxantispam at freenet.de> ---
Now tested again:

translation DIR-structure N°1:
------------------------------
l10n-messages_docs/<LANG>/*.po
l10n-messages_docs/<LANG>/docs/<APPNAME>/*.docbook

=> DOC's & translations are "mixed" in a single directory

"CMakeLists.txt" N°1:
---------------------
find_package(KF5I18n CONFIG REQUIRED)
ki18n_install(l10n-messages_docs)
find_package(KF5DocTools REQUIRED)
kdoctools_install(l10n-messages_docs)

=> Results in OK-installation
(btw. this DIR-strukture is currently used in kronometer tarball)


translation DIR-structure N°2:
------------------------------
l10n-messages/<LANG>/*.po
10n-docs/<LANG>/docs/<APPNAME>/*.docbook

=> DOC's & translations are in separate directories

"CMakeLists.txt" N°2:
---------------------
find_package(KF5I18n CONFIG REQUIRED)
ki18n_install(l10n-messages)
find_package(KF5DocTools REQUIRED)
kdoctools_install(l10n-docs)

=> Results in bogus installation-path of DOC's,
as <LANG> is used _twice_ in the installation-path.
On my system: /usr/share/doc/HTML/<LANG>/<LANG>/docs/<APPNAME>/*.docbook


Acc.to what you've written in comment#3 KDocTools should be able to handle both
DIR-structure scenarios correctly:
> it works both when doc translations are "mixed" with interface translations
> and when they are in separate directories (tested back to 5.16).

> What version of KDocTools are you using?
My distro currently provides version 5.27.0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-doc-english mailing list