Review Request 117805: Introduce kdoctools_install()

Aurélien Gâteau agateau at kde.org
Mon Apr 28 08:30:39 UTC 2014



> On April 28, 2014, 1:31 a.m., Luigi Toscano wrote:
> > I think you can simplify the match condition: manpages docbooks starts with "man-" prefix

I didn't check on the "man-" prefix because a comment in kdoctools_create_manpage() says 'sometimes we have "man-" prepended'. Is it mandatory now? Anyway, I need to match the man section in the filename because kdoctools_create_manpage() expects it as its second argument (though it could be made smarter and find it itself :))


- Aurélien


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117805/#review56700
-----------------------------------------------------------


On April 27, 2014, 8:50 p.m., Aurélien Gâteau wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117805/
> -----------------------------------------------------------
> 
> (Updated April 27, 2014, 8:50 p.m.)
> 
> 
> Review request for Documentation, KDE Frameworks and Luigi Toscano.
> 
> 
> Repository: kdoctools
> 
> 
> Description
> -------
> 
> This function makes it easy to install all .docbook of a framework. It is similar to ki18n_install() (see https://git.reviewboard.kde.org/r/117804/ ).
> 
> The primary user of this function is the build system of the framework tarballs. The tarballs will ship with a po/ directory which follows the structure expected by kdoctools_install(). The only necessary change is to add the following lines to the root CMakeLists.txt file:
> 
>     if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
>         kdoctools_install(po)
>     endif()
> 
> Since the code checks for the presence of a po/ directory, it can be committed in the framework repository (no need for the tarball release scripts to alter the CMake files), making it easier for developers to reproduce the situation of a released tarball by creating/copying a po/ directory in their working copy.
> 
> 
> Diffs
> -----
> 
>   KF5DocToolsMacros.cmake c4e33bd 
> 
> Diff: https://git.reviewboard.kde.org/r/117805/diff/
> 
> 
> Testing
> -------
> 
> Tested with fake content on kiconthemes, with and without the po dir.
> 
> 
> Thanks,
> 
> Aurélien Gâteau
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140428/73d98378/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list