summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-01-28 20:11:14 +0000
committerMike Frysinger <vapier@gentoo.org>2013-01-28 20:11:14 +0000
commit5775d6fd0ff442f24d0f4552f5413a6d08fc464f (patch)
tree57b8b16a3d5fbec0601c7949a0c43aca65f998c8 /eclass
parentUse slot 0 for openssl as pointed out by Zac Medico. (diff)
downloadhistorical-5775d6fd0ff442f24d0f4552f5413a6d08fc464f.tar.gz
historical-5775d6fd0ff442f24d0f4552f5413a6d08fc464f.tar.bz2
historical-5775d6fd0ff442f24d0f4552f5413a6d08fc464f.zip
add high level over view of how to use this eclass for users
Diffstat (limited to 'eclass')
-rw-r--r--eclass/savedconfig.eclass18
1 files changed, 17 insertions, 1 deletions
diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass
index a0a8cd730f08..304eef8b2899 100644
--- a/eclass/savedconfig.eclass
+++ b/eclass/savedconfig.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.20 2012/01/04 08:23:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.21 2013/01/28 20:11:14 vapier Exp $
# @ECLASS: savedconfig.eclass
# @MAINTAINER:
@@ -13,6 +13,22 @@
# of saving and restoring the configuration files was developed
# so users can modify these config files and the ebuild will take it
# into account as needed.
+#
+# @ROFF .nr step 1 1
+# Typically you can create your own configuration files quickly by
+# doing:
+# @ROFF .IP \n[step] 3
+# Build the package with FEATURES=noclean USE=savedconfig.
+# @ROFF .IP \n+[step]
+# 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]
+# Copy the modified configuration files out of the workdir and to
+# the paths in /etc/portage/savedconfig/.
+# @ROFF .IP \n+[step]
+# Emerge the package with just USE=savedconfig to get the custom build.
inherit portability