trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] Python help please to fix help handbook installation

From: "E. Liddell" <ejlddll@...>
Date: Tue, 14 Jan 2014 19:14:53 -0500
On Tue, 14 Jan 2014 15:34:58 -0600
"Darrell Anderson" <darrella@...> wrote:

> All,
> 
> Would one of you python experts, or even a python newbie, which I 
> am not, look at (git sources) kstreamripper/doc/SConscript?
> 
> The script does not install the index.docbook file into the 
> package, only installing index.cache.bz2. Including the 
> index.docbook file is necessary.
> 
> Should take about two minutes to fix? :)
> 
> Thank you!
> 
> P.S. Yes, the kstreamripper help handbook is nothing but a 
> template. One problem at a time. :)

Python newb, and not really familiar with SCons as a build
system, but my *guess* would be that you need to add:

myenv.KDEinstall( 'KDEDOC', lang+'/'+destination, folder+'/index.docbook' )

right after:

myenv.KDEinstall( 'KDEDOC', lang+'/'+destination, folder+'/index.cache.bz2' )

Make sure that the indentation of the two lines matches
*exactly*, because leading whitespace is syntactically
significant in Python.

E. Liddell