trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Re: [trinity-devel] Missing Help files

From: François ANDRIOT <francois.andriot@...>
Date: Fri, 25 Nov 2011 22:26:47 +0100
Le 25/11/2011 21:56, Darrell Anderson a écrit :
>>> It looks like (correct me if I'm wrong) these are
>> CMAKE-ported packages.
>>> Did we miss a CMAKE variable that indicates the
>> location of 'doc'
>>> directory ?
>> Check */cmake/modules/TDESetupPaths.cmake for all paths.
> I have been doing that. I'm not find a pattern. For example, the TDESetupPaths.cmake files for kdebase and kdegames are identical. The kdebase Help files all install to /opt/trinity/share/doc/kde/HTML. All of the kdegames Help files install to /opt/trinity/share/doc/HTML.
>
> None of the apps in kdegames can find the Help files.
>
> kdemultimedia is the same as kdegames, although built with autotools. The apps can't find the Help files.
>
> Darrell

Concerning the autotools-built packages, I found out that the file 
'admin/acinclude.m4' defines the kde_htmldir variable as below :

   if test -z "$kde_htmldir"; then
     kde_htmldir='\${datadir}/doc/HTML'
   fi

I can workaround it by modifying this file before the "make -f 
admin/Makefile.common".
e.g modify the line with:
     kde_htmldir='\${datadir}/doc/HTML/kde'

Then the HTML documentation are installed in the expected directory.
I guess I will have to rebuild a lot of packages :)

Francois Andriot