Bug 107415 - `kde-config --prefix` wrong way to find khtmldir (guesses wrong path on some systems)
Summary: `kde-config --prefix` wrong way to find khtmldir (guesses wrong path on some ...
Status: RESOLVED WORKSFORME
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Cornelius Schumacher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-14 19:34 UTC by Christopher Martin
Modified: 2012-07-01 16:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Fixes the location of the handbooks for indexing. (1.11 KB, patch)
2005-06-14 19:37 UTC, Christopher Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Martin 2005-06-14 19:34:57 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

khc_docbookdig.pl gets the location of KDE's documentation by effectively doing this:

`kde-config --prefix`/share/doc/HTML/en

On Debian systems, however, the documentation is located in /usr/share/doc/kde/HTML/en, making attempts to build a search index futile. To resolve this, khc_docbookdig.pl should more correctly try this:

`kde-config --expandvars --install html`/en

I'll attach a patch which fixes this. Of course, as per bug #102912, htdig still fails to build an index, but at least we're closer :)

Thanks,
Christopher Martin
Comment 1 Christopher Martin 2005-06-14 19:37:39 UTC
Created attachment 11453 [details]
Fixes the location of the handbooks for indexing.
Comment 2 Maarten De Meyer 2012-04-16 13:54:33 UTC
Can this bug be closed or is your patch not included yet?
Comment 3 Christopher Martin 2012-07-01 16:58:09 UTC
It all seems to work now; given the age of the bug (KDE 3.4), I think it can be closed.