kdoctools: Move bin stuff to the "out" output

In particular, this moves share/kf5 to the "out" output. This prevents
kdelibs4support from pulling kdoctools.dev into its closure (via
share/kf5/kdoctools/customization/dtd/kdex.dtd, which references
${kdoctools}/share/kf5).

This reduces the closure size of kdelibs4support by 156 MiB.
This commit is contained in:
Eelco Dolstra 2017-09-25 14:32:27 +02:00
parent 23ef826139
commit b790a31204
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE

View File

@ -14,9 +14,6 @@ mkDerivation {
propagatedBuildInputs = [ qtbase ];
outputs = [ "out" "dev" ];
patches = [ ./kdoctools-no-find-docbook-xml.patch ];
preConfigure = ''
outputBin=dev
'';
cmakeFlags = [
"-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook"
"-DDocBookXSL_DIR=${docbook5_xsl}/xml/xsl/docbook"