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

Luigi Toscano bugzilla_noreply at kde.org
Sun Jan 1 18:26:59 UTC 2017


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

--- Comment #20 from Luigi Toscano <luigi.toscano at tiscali.it> ---
You hit the bug because the folder ends in "docs" and the way this match line
is built:
string(REGEX MATCH "docs/(.*)/index.docbook" match ${docbook})

If you have
.../foodocs/<lang>/docs/<program>/index.docbook

the content of cmake_match_1 will be

<lang>/docs/<program>

instead of the expected

<program>

In fact man pages are not affected (the previous match works).

If you use any name for the directory which does not end in docs, the macro
works.

Please file a new bug (as it is a corner case), or I can do it, I will prepare
a patch.

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


More information about the kde-doc-english mailing list