Gentoo Archives: gentoo-portage-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH 1/2] man/ebuild.5: document that dodir is for nonempty directories.
Date: Fri, 12 Jan 2018 17:57:51
Message-Id: 20180112175726.9718-2-mjo@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 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 42a0599fe..9dd969b03 100644
7 --- a/man/ebuild.5
8 +++ b/man/ebuild.5
9 @@ -1267,11 +1267,12 @@ that this expression does \fBNOT\fR use the offset prefix.
10 runs sed on ${ED}/usr/bin/some\-script
11 .TP
12 .B dodir\fR \fI<path> [more paths]
13 -Creates directories inside of ${ED}.
14 +Creates (nonempty) directories inside of ${ED}.
15 .br
16 .BR 'dodir\ /usr/lib/apache'
17 creates ${ED}/usr/lib/apache. Note that the do* functions will run
18 -\fBdodir\fR for you.
19 +\fBdodir\fR for you. Empty directories must be created with \fBkeepdir\fR
20 +instead.
21 .TP
22 .B diropts\fR \fI[options for install(1)]
23 Can be used to define options for the install function used in
24 --
25 2.13.6

Replies