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.
I tried that. No luck. No build failures or complaints, but no index.docbook in the package.
Still seeking a python wizard for this. I'm sure the problem is fixable in about two minutes.
Thanks! :)
Darrell