Article View: linux.gentoo.dev
Article #208Re: [gentoo-dev] [PATCH 2/3] dune.eclass: use --docdir for dune install
From: Sam James
Date: Thu, 19 Nov 2026 15:10
Date: Thu, 19 Nov 2026 15:10
34 lines
2645 bytes
2645 bytes
--=-=-=
Content-Type: text/plain
Thomas Bracht Laumann Jespersen <laumann@gentoo.org> writes:
> 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.
Thanks for checking.
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmr/ELYbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkObl
AQDDcX04GmfKIlHTt4GLTEADT5KXYW42TD5nYsyg8hVfIgD/X0uY9sUosyn/a80N
tj7P+xLBF/gBVQMo9OiQAUcjwgc=
=5wVa
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID:
<O1bVU-cUnm-15@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!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> <O1b9v-cTX0-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!bofh.it!news.nic.it!robomod From: Sam James <sam@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 16:10:02 +0100 Message-ID: <O1bVU-cUnm-15@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> <O1b9v-cTX0-1@gated-at.bofh.it> X-Original-To: gentoo-dev@lists.gentoo.org Organization: Gentoo User-Agent: mu4e 1.14.4; emacs 32.0.50 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: 34 Sender: robomod@news.nic.it X-Original-Date: Thu, 19 Nov 2026 15:07:33 +0000 X-Original-Message-ID: <874idcx3ka.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> <878q2olxh4.fsf@gentoo.org>