[bt-devel] help needed with build system

Martin Gruner mg.pub at gmx.net
Fri Apr 7 08:08:15 MST 2006


Hi all,

I've got something that I'd need help with. It's regarding the installation of 
BibleTime's documentation.

The standard path kde uses for this is /usr/share/doc/HTML/, and this is what 
BibleTime will install the stuff to when users compile regularly. The 
variable $kde_htmldir is used for this in the Makefiles.

Now Debian seems to go its own way. They use /usr/share/doc/kde/HTML, which is 
not supported by the make system. I asked in #debian-kde and the reply was: 

[16:31:47] <_mg_>Hello. I'd appreciate help with a KDE related build problem 
that occured in my OS KDE project. AFAICT, the kde autmake tools (in admin/, 
from 3.5.2) set $kde_htmldir to /usr/share/doc/HTML/. However, in Debian the 
KDE docs are in /usr/share/doc/kde/HTML/. How did that come about? Is KDE's 
default somehow overridden? How can I make sure the make system of my project 
will correctly set the right path on a user's system when compiling? Thanks, 
any help is really appreciated -- I could no
 [16:32:16] <_mg_>t find out anything substantial yet.
 [16:53:12] <_mg_>nobody? Or was my question unclear?
 [16:54:36] <pusling>I move it in place in the rules file afterwards.
 [16:57:35] <_mg_>pusling: ok. How can I make my application install 
automatically into the right location if the user has a debian system?
 [16:59:33] <pusling>provide a nice and valid debian package easy apt-get'able
 [17:00:31] <_mg_>actually, debian contains KDE-based packages (such as 
kxmleditor) which install into the standard-KDE location, and therefore their 
doc does not work.
 [17:01:23] <pusling>please report a bug against it ...

I don't like this, but we have to live with it.
What we need here is a configure option --with-kde-htmldir that allows users 
to override this setting manually. Otherwise it will always install to the 
wrong location. (An automatic detection would be even better, but is not 
really neccessary).

Could somebody implement this?
Thanks,

mg


More information about the bt-devel mailing list