http://www.politiker-stopp.de/gfx/politiker-stopp-print.png
Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

[] KDE installation paths RSS feed for section TechSucks

The packages are really interesting to debug. At least with regard to their installation paths.
For that, they use two configure/Makefile variables:

kde_htmldir
kde_libs_htmldir

Now one might think that those directories may be the same for a translation package, and indeed, they are. By default, they point to /usr/share/doc/HTML. Err, wait... what? They document HTML?
No, they document KDE in various languages. Or so I think. At the very least, there's a small problem: They share files with the l10n packages. This is bad because the scripts complain loudly about that.
Now I wanted them to install into /usr/share/doc/<package name>/HTML to keep them from interfering with each other.
In the configure file I found that the kde_libs_htmldir variable is filled with output from
kde-config --install html --expandvars

so I made it so that kde-config returns a path to my liking. Still, the files went to /usr/share/doc/HTML.
Upon further investigation, I found that kde_htmldir is not filled the same way as kde_libs_htmldir. It simply assumes a default of ${datadir}/doc/HTML.

I don't yet know how or why this is done in such a braindead way. But for now, it works and I'm not gonna mess with it.


EOF

Back home  clock 14:16:14 18.09.2006 | Permalink | Trackback URI

Leave a comment

Allowed HTML tags: a abbr acronym b blockquote em li ol p strong sub sup u ul

Name


Link (enter mailto:you@address.com for mailaddress, otherwise http:// is implied)


Comment