Gentoo Archives: gentoo-portage-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH v2 2/2] man/ebuild.5: document the rationale for using keepdir over dodir.
Date: Fri, 12 Jan 2018 22:57:09
Message-Id: 20180112225653.14335-3-mjo@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH v2 0/2] man page updates to promote keepdir usage by Michael Orlitzky
1 ---
2 man/ebuild.5 | 5 +++--
3 1 file changed, 3 insertions(+), 2 deletions(-)
4
5 diff --git a/man/ebuild.5 b/man/ebuild.5
6 index 28e9582d1..8784a14ee 100644
7 --- a/man/ebuild.5
8 +++ b/man/ebuild.5
9 @@ -1285,8 +1285,9 @@ Sets the root (\fIDESTTREE\fR) for other functions like \fBdobin\fR,
10 The default root is /usr.
11 .TP
12 .B keepdir\fR \fI<path> [more paths]
13 -Tells portage to leave directories behind even if they're empty. Functions
14 -the same as \fBdodir\fR.
15 +Similar to \fBdodir\fR, but used to create directories that would otherwise
16 +be empty. The treatment of completely-empty directories is undefined by the
17 +PMS, and using \fBkeepdir\fR ensures that they are tracked.
18 .TP
19 .B dobin\fR \fI<binary> [list of more binaries]
20 Installs a \fIbinary\fR or a list of binaries into \fIDESTTREE\fR/bin.
21 --
22 2.13.6

Replies