Gentoo Archives: gentoo-portage-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH v2 1/2] man/ebuild.5: document that dodir is for nonempty directories.
Date: Fri, 12 Jan 2018 22:57:05
Message-Id: 20180112225653.14335-2-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 | 3 ++-
3 1 file changed, 2 insertions(+), 1 deletion(-)
4
5 diff --git a/man/ebuild.5 b/man/ebuild.5
6 index 42a0599fe..28e9582d1 100644
7 --- a/man/ebuild.5
8 +++ b/man/ebuild.5
9 @@ -1271,7 +1271,8 @@ Creates directories inside of ${ED}.
10 .br
11 .BR 'dodir\ /usr/lib/apache'
12 creates ${ED}/usr/lib/apache. Note that the do* functions will run
13 -\fBdodir\fR for you.
14 +\fBdodir\fR for you. If this directory will be empty when it is merged,
15 +then please use \fBkeepdir\fR instead.
16 .TP
17 .B diropts\fR \fI[options for install(1)]
18 Can be used to define options for the install function used in
19 --
20 2.13.6

Replies