Difference between pages "Template:Feature" and "Template:Feature/Doc"

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
To enable '''{{{1}}}''' add the following to the '''bottom''' of <tt>/etc/make.conf</tt>.
+
Boilerplate how to enable a Portage feature.
{{code|/etc/make.conf|
+
<nowiki>FEATURES="${FEATURES}</nowiki> {{{1}}}<nowiki>"</nowiki>
+
}}
+
  
<noinclude>{{documentation}}</noinclude>
+
Example:
 +
<pre>
 +
{{feature|distcc}}
 +
</pre>
 +
 
 +
Will produce:
 +
 
 +
{{feature|distcc}}
 +
 
 +
 
 +
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 04:54, 9 November 2010

Boilerplate how to enable a Portage feature.

Example:

{{feature|distcc}}

Will produce:

To enable distcc add the following to the bottom of /etc/make.conf.

Code: /etc/make.conf

FEATURES="${FEATURES} distcc"