Summary: | kdoctools_install() use a wrong directory when the parameter ends with "docs" | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kdoctools | Reporter: | Luigi Toscano <luigi.toscano> |
Component: | general | Assignee: | Documentation Editorial Team <kde-doc-english> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdelibs-bugs, maxantispam |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=357428 | ||
Latest Commit: | https://commits.kde.org/kdoctools/938e439db2067381dd3df6a0ea71f50aa73fd310 | Version Fixed In: | |
Sentry Crash Report: |
Description
Luigi Toscano
2017-01-01 20:30:01 UTC
Review available: https://phabricator.kde.org/D3912 Hi there,
happy new year & thanks for your recent efforts. :)
> If you use any name for the directory which does not end in docs,
> the macro works.
Cool, this is my (already successfully tested) workaround for now.
Right now I didn't check your patch of kdoctools, yet.
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 |