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

--- Comment #20 from Luigi Toscano <luigi.tosc...@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 watching all bug changes.

Reply via email to