Bug 234064

Summary: kdesdk builds documentation for disabled components
Product: [I don't know] kde Reporter: Greg Bouzakis <gregbouzakis>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mattr
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Greg Bouzakis 2010-04-11 16:55:44 UTC
Version:            (using KDE 4.3.5)
OS:                Linux
Installed from:    Compiled From Sources

Disabled components of Kdesdk shouldnt build their documentation.
For example when i add -DBUILD_Kate=off to the build script,
the documentation of the application that is not gonna be included shouldnt be part of the resulting package.

See how kdeutils fixed this: http://websvn.kde.org/?view=revision&revision=1030490
For reference this is the original report:
https://bugs.kde.org/show_bug.cgi?id=233998
Comment 1 Burkhard Lück 2010-09-20 16:13:46 UTC
Fixed with this commit:

SVN commit 1177468 by kudryashov:

Don't build documentation for components that are not built

 M  +8 -0      CMakeLists.txt