1 |
commit: 9659e5c8c618c7dfa4a6c3103fee9f3e5c53cb02 |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 7 23:49:49 2019 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 25 20:59:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9659e5c8 |
7 |
|
8 |
eclass/savedconfig.eclass: rewrite the ROFF macros |
9 |
|
10 |
man2html cannot cope with multi-character number-register names and |
11 |
also doesn't recognize the square brackets in the '\n' escape |
12 |
sequence. This breaks the autogenerated HTML output. Rename the |
13 |
number-register from "step" to "R" and get rid of the square brackets. |
14 |
|
15 |
URL: https://archives.gentoo.org/gentoo-dev/message/b619a5775cbe6d0b650d827338ef8ca2 |
16 |
Closes: https://bugs.gentoo.org/699476 |
17 |
|
18 |
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org> |
19 |
Acked-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
20 |
|
21 |
eclass/savedconfig.eclass | 10 +++++----- |
22 |
1 file changed, 5 insertions(+), 5 deletions(-) |
23 |
|
24 |
diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass |
25 |
index dab2283fe0f..8f64c5b8edd 100644 |
26 |
--- a/eclass/savedconfig.eclass |
27 |
+++ b/eclass/savedconfig.eclass |
28 |
@@ -14,20 +14,20 @@ |
29 |
# so users can modify these config files and the ebuild will take it |
30 |
# into account as needed. |
31 |
# |
32 |
-# @ROFF .nr step 1 1 |
33 |
+# @ROFF .nr R 1 1 |
34 |
# Typically you can create your own configuration files quickly by |
35 |
# doing: |
36 |
-# @ROFF .IP \n[step] 3 |
37 |
+# @ROFF .IP \nR 3 |
38 |
# Build the package with FEATURES=noclean USE=savedconfig. |
39 |
-# @ROFF .IP \n+[step] |
40 |
+# @ROFF .IP \n+R |
41 |
# Go into the build dir and edit the relevant configuration system |
42 |
# (e.g. `make menuconfig` or `nano config-header.h`). You can look |
43 |
# at the files in /etc/portage/savedconfig/ to see what files get |
44 |
# loaded/restored. |
45 |
-# @ROFF .IP \n+[step] |
46 |
+# @ROFF .IP \n+R |
47 |
# Copy the modified configuration files out of the workdir and to |
48 |
# the paths in /etc/portage/savedconfig/. |
49 |
-# @ROFF .IP \n+[step] |
50 |
+# @ROFF .IP \n+R |
51 |
# Emerge the package with just USE=savedconfig to get the custom build. |
52 |
|
53 |
inherit portability |