Gentoo Archives: gentoo-portage-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH 2/2] man/ebuild.5: document the rationale for using keepdir over dodir.
Date: Fri, 12 Jan 2018 20:31:05
Message-Id: CAJ0EP40nsb6CQad1Kt1pOmUOzQQseiJyT+ML0O=upHp5+C97zA@mail.gmail.com
In Reply to: [gentoo-portage-dev] [PATCH 2/2] man/ebuild.5: document the rationale for using keepdir over dodir. by Michael Orlitzky
1 On Fri, Jan 12, 2018 at 12:57 PM, Michael Orlitzky <mjo@g.o> wrote:
2 > ---
3 > man/ebuild.5 | 5 +++--
4 > 1 file changed, 3 insertions(+), 2 deletions(-)
5 >
6 > diff --git a/man/ebuild.5 b/man/ebuild.5
7 > index 9dd969b03..5e2fdbcf5 100644
8 > --- a/man/ebuild.5
9 > +++ b/man/ebuild.5
10 > @@ -1285,8 +1285,9 @@ Sets the root (\fIDESTTREE\fR) for other functions like \fBdobin\fR,
11 > The default root is /usr.
12 > .TP
13 > .B keepdir\fR \fI<path> [more paths]
14 > -Tells portage to leave directories behind even if they're empty. Functions
15 > -the same as \fBdodir\fR.
16 > +Similar to \fBdodir\fR, but used to create directories that would otherwise
17 > +be empty. The treatment of completely-empty directories is undefined by the
18 > +PMS, and using \fBkeepdir\fR ensures that they are tracked.
19 > .TP
20 > .B dobin\fR \fI<binary> [list of more binaries]
21 > Installs a \fIbinary\fR or a list of binaries into \fIDESTTREE\fR/bin.
22
23 This change looks ok to me.