Article View: linux.gentoo.dev
Article #206Re: [gentoo-dev] [PATCH 2/3] dune.eclass: use --docdir for dune install
From: Thomas Bracht Laumann Jespersen
Date: Thu, 19 Nov 2026 14:20
Date: Thu, 19 Nov 2026 14:20
30 lines
2415 bytes
2415 bytes
--=-=-=
Content-Type: text/plain
Sam James <sam@gentoo.org> writes:
>> Instead of manually moving files from /usr/doc to /usr/share/doc/${PF},
>> use the --docdir argument for "dune install". This ensure the generated
>> dune-package file will reference the correct location of installed docs.
>
> I wonder if maybe --docdir didn't exist for our minimum version of dune,
> or at least a minimum version we specified in the past, then we forgot
> to add it in?
AFAICT --docdir was added in dune 2.9.0 (29-06-2021) and dune.eclass
predates this, so it would seem like that's the case.
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQEFBAEWCgCtFiEEq7SpitE7F8gDwQG+I/uGahf0qDsFAmr/BEcbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQkI0QTk4QUQxM0IxN0M4MDNDMTAx
QkUyM0ZCODY2QTE3RjRBODNCExxsYXVtYW5uQGdlbnRvby5vcmcACgkQI/uGahf0
qDthJwEAo4U3Uv7XxbcsXq+m5GdiVEpSoeel062CPUnbmfbyvXwA/i4V+k37aNgX
K2y5pqdqtG2XJc0mRxHUOAo5tVCZeVgD
=lFzv
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID:
<O1b9v-cTX0-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O19AJ-cT6p-5@gated-at.bofh.it> <O19AJ-cT6p-21@gated-at.bofh.it> <O1aZP-cTTA-15@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Thomas Bracht Laumann Jespersen <laumann@gentoo.org> Newsgroups: linux.gentoo.dev Subject: Re: [gentoo-dev] [PATCH 2/3] dune.eclass: use --docdir for dune install Date: Thu, 19 Nov 2026 15:20:01 +0100 Message-ID: <O1b9v-cTX0-1@gated-at.bofh.it> References: <O19AJ-cT6p-5@gated-at.bofh.it> <O19AJ-cT6p-21@gated-at.bofh.it> <O1aZP-cTTA-15@gated-at.bofh.it> X-Original-To: gentoo-dev@lists.gentoo.org User-Agent: mu4e 1.14.2; emacs 31.1 List-ID: Gentoo Linux mail <gentoo-dev.gentoo.org> Reply-To: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Approved: robomod@news.nic.it Lines: 30 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 19 Nov 2026 15:14:31 +0100 X-Original-Message-ID: <878q2olxh4.fsf@gentoo.org> X-Original-References: <20261119-dune-eclass-install-v1-0-0c6b81eca2b1@gentoo.org> <20261119-dune-eclass-install-v1-2-0c6b81eca2b1@gentoo.org> <87cxs0x6n2.fsf@gentoo.org>