Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH 3/3] savedconfig.eclass: Remove @ROFF from eclass documentation.
Date: Thu, 20 Feb 2020 16:57:09
Message-Id: w6gtv3lxkmc.fsf@kph.uni-mainz.de
In Reply to: [gentoo-dev] [PATCH 0/3] *** SUBJECT HERE *** by "Ulrich Müller"
1 Remove all @ROFF tokens, because they make conversion to any format
2 other than a man page very difficult. Replace the numbered list by
3 explicitly numbered paragraphs.
4
5 Signed-off-by: Ulrich Müller <ulm@g.o>
6 ---
7 eclass/savedconfig.eclass | 20 ++++++++++----------
8 1 file changed, 10 insertions(+), 10 deletions(-)
9
10 diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass
11 index 8f64c5b8edd..e90a9b618d6 100644
12 --- a/eclass/savedconfig.eclass
13 +++ b/eclass/savedconfig.eclass
14 @@ -1,4 +1,4 @@
15 -# Copyright 1999-2019 Gentoo Authors
16 +# Copyright 1999-2020 Gentoo Authors
17 # Distributed under the terms of the GNU General Public License v2
18
19 # @ECLASS: savedconfig.eclass
20 @@ -14,21 +14,21 @@
21 # so users can modify these config files and the ebuild will take it
22 # into account as needed.
23 #
24 -# @ROFF .nr R 1 1
25 # Typically you can create your own configuration files quickly by
26 # doing:
27 -# @ROFF .IP \nR 3
28 -# Build the package with FEATURES=noclean USE=savedconfig.
29 -# @ROFF .IP \n+R
30 -# Go into the build dir and edit the relevant configuration system
31 +#
32 +# 1. Build the package with FEATURES=noclean USE=savedconfig.
33 +#
34 +# 2. Go into the build dir and edit the relevant configuration system
35 # (e.g. `make menuconfig` or `nano config-header.h`). You can look
36 # at the files in /etc/portage/savedconfig/ to see what files get
37 # loaded/restored.
38 -# @ROFF .IP \n+R
39 -# Copy the modified configuration files out of the workdir and to
40 +#
41 +# 3. Copy the modified configuration files out of the workdir and to
42 # the paths in /etc/portage/savedconfig/.
43 -# @ROFF .IP \n+R
44 -# Emerge the package with just USE=savedconfig to get the custom build.
45 +#
46 +# 4. Emerge the package with just USE=savedconfig to get the custom
47 +# build.
48
49 inherit portability
50
51 --
52 2.25.1

Attachments

File name MIME type
signature.asc application/pgp-signature