Need Help with New Targets

Stephan Kulow coolo at kde.org
Mon Jan 29 09:41:14 CET 2007


Am Freitag, 26. Januar 2007 21:42 schrieb Alexander Neundorf:
> Hi,
>
> On Friday 26 January 2007 21:31, Allen Winter wrote:
> > Howdy,
> >
> > I'd like to add some new targets (the target names can be changed):
> >  - 'make apidox'  creates the apidox in html using doxygen
> >   - 'make apiman' creates the apidox in nroff using doxygen
> >
> >  - 'make install-apidox' installs the html apidox to $DESTDIR/share/html
> >  - 'make install-apiman' installs the apidox in nroff to
> > $DESTDIR/share/man
>
> The "install-foo" targets are no good idea. It would mean messing around
> with the install command.
> I think "make install" in <module>/doc/ is good enough.
>
> Should the docs also be generated in every regular build ?
> If not, this could also be done with a simple option() around the doc/
> directory which is disabled by default.
>
> Bye
> Alex, who knows not much about generating docs
This is not about documentation but about apidox - they take a lot of time and 
are only interesting for people without internet access (or distributions). 
So no, you don't want them to be part of every build. But an option 
KDE_BUILD_APIDOX is fine I think.

Greetings, Stephan


More information about the Kde-buildsystem mailing list