[frameworks-kdoctools] [Bug 374435] kdoctools_install() use a wrong directory when the parameter ends with "docs"

Luigi Toscano bugzilla_noreply at kde.org
Tue Jan 3 00:20:23 UTC 2017


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

Luigi Toscano <luigi.toscano at tiscali.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kdo
                   |                            |ctools/938e439db2067381dd3d
                   |                            |f6a0ea71f50aa73fd310
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #3 from Luigi Toscano <luigi.toscano at tiscali.it> ---
Git commit 938e439db2067381dd3df6a0ea71f50aa73fd310 by Luigi Toscano.
Committed on 03/01/2017 at 00:20.
Pushed by ltoscano into branch 'master'.

kdoctools_install: match the full path for the program

Summary:
In order to get the name of the program, match against the full path
which includes the path of the directory currently scanned for a
certain language.
So if docs/ appears somewhere in the path, it does not interfere
with the matching regular expression and the name of the program
is correctly extracted.

Test Plan: kdoctools_install(l10n-docs) now works

Reviewers: #frameworks, #documentation, aacid

Reviewed By: #documentation, aacid

Tags: #frameworks, #documentation

Differential Revision: https://phabricator.kde.org/D3912

M  +1    -1    KF5DocToolsMacros.cmake

https://commits.kde.org/kdoctools/938e439db2067381dd3df6a0ea71f50aa73fd310

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


More information about the kde-doc-english mailing list