Dne po 20. srpna 2012 David C. Rankin napsal(a):
Thank Francios,
That works for cmake apps, but for autotools apps, I am having to fix
the ones that don't go in the correct spot at build time with sed like:
## fix doc install location
msg "Patching datadir location share/doc/kde/HTML ..."
sed -i 's|doc/HTML|doc/kde/HTML|' ${pkgname#*-}/admin/acinclude.m4.in
That will set kde_htmldir to:
kde_htmldir='\${datadir}/doc/kde/HTML'
That works with the current tdelibs setting. Once we get a decision
on whether to move 3.5.13-sru to ${datadir}/doc/HTML or leaving it as
it is ${datadir}/doc/kde/HTML we can make it consistent in the GIT tree
for both cmake and autotools applications.
I looked in the tde-packaging. For Debian and Ubuntu is kde_htmldir set to
${datadir}/doc/kde/HTML at build:
export kde_htmldir = \$${datadir}/doc/kde/HTML
That's why I did not notice absence of documentation.
So what solution we choose? Reason to use kde/tde in the name of the
folder, as Darrell said in the other thread, seem to me correct. A
suitable seem only these solutions:
a) Solve it at build time (as it is in Debian/Ubuntu)
b) Backport patches between 398ef116 and 4e430ec6 into v3.5.13-sru branch
Some other solution?
What is your opinion?
Slavek
--