summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2019-11-07 18:49:49 -0500
committerGöktürk Yüksek <gokturk@gentoo.org>2019-11-25 15:59:58 -0500
commit9659e5c8c618c7dfa4a6c3103fee9f3e5c53cb02 (patch)
tree4249f0e02700e51ee1f616bfd7c2aee9bf1fd660 /eclass/savedconfig.eclass
parentdev-python/fido2: add missing RESTRICT="!test? ( test )" (diff)
downloadgentoo-9659e5c8c618c7dfa4a6c3103fee9f3e5c53cb02.tar.gz
gentoo-9659e5c8c618c7dfa4a6c3103fee9f3e5c53cb02.tar.bz2
gentoo-9659e5c8c618c7dfa4a6c3103fee9f3e5c53cb02.zip
eclass/savedconfig.eclass: rewrite the ROFF macros
man2html cannot cope with multi-character number-register names and also doesn't recognize the square brackets in the '\n' escape sequence. This breaks the autogenerated HTML output. Rename the number-register from "step" to "R" and get rid of the square brackets. URL: https://archives.gentoo.org/gentoo-dev/message/b619a5775cbe6d0b650d827338ef8ca2 Closes: https://bugs.gentoo.org/699476 Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org> Acked-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'eclass/savedconfig.eclass')
-rw-r--r--eclass/savedconfig.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass
index dab2283fe0f4..8f64c5b8edd0 100644
--- a/eclass/savedconfig.eclass
+++ b/eclass/savedconfig.eclass
@@ -14,20 +14,20 @@
# so users can modify these config files and the ebuild will take it
# into account as needed.
#
-# @ROFF .nr step 1 1
+# @ROFF .nr R 1 1
# Typically you can create your own configuration files quickly by
# doing:
-# @ROFF .IP \n[step] 3
+# @ROFF .IP \nR 3
# Build the package with FEATURES=noclean USE=savedconfig.
-# @ROFF .IP \n+[step]
+# @ROFF .IP \n+R
# Go into the build dir and edit the relevant configuration system
# (e.g. `make menuconfig` or `nano config-header.h`). You can look
# at the files in /etc/portage/savedconfig/ to see what files get
# loaded/restored.
-# @ROFF .IP \n+[step]
+# @ROFF .IP \n+R
# Copy the modified configuration files out of the workdir and to
# the paths in /etc/portage/savedconfig/.
-# @ROFF .IP \n+[step]
+# @ROFF .IP \n+R
# Emerge the package with just USE=savedconfig to get the custom build.
inherit portability