Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 19 years ago
parent
commit
0df27229d8
3 changed files with 15 additions and 2 deletions
  1. +4
    -2
      package/base/sysfiles/sysfiles.conf
  2. +9
    -0
      scripts/config.hlp
  3. +2
    -0
      scripts/parse-config

+ 4
- 2
package/base/sysfiles/sysfiles.conf

@ -137,9 +137,11 @@ EOT
echo "Exporting LINGUAS environment variable ..." echo "Exporting LINGUAS environment variable ..."
if [ "$ROCKCFG_LINGUAS" == "all" ] ; then if [ "$ROCKCFG_LINGUAS" == "all" ] ; then
echo "# LINGUAS=" > $root/etc/profile.d/linguas
echo "# export LINGUAS=" > $root/etc/profile.d/linguas
elif [ "$ROCKCFG_LINGUAS" == "none" ] ; then
echo "export LINGUAS=" > $root/etc/profile.d/linguas
else else
echo "LINGUAS=\"$ROCKCFG_LINGUAS\"" > $root/etc/profile.d/linguas
echo "export LINGUAS=\"$ROCKCFG_LINGUAS\"" > $root/etc/profile.d/linguas
fi fi
if [ $stagelevel -gt 1 ] ; then if [ $stagelevel -gt 1 ] ; then

+ 9
- 0
scripts/config.hlp

@ -76,6 +76,15 @@ ROCKCFG_TARGET
This target is intended to build a not blown up server distribution This target is intended to build a not blown up server distribution
to install web-, mail-, fileserver or similar. to install web-, mail-, fileserver or similar.
ROCKCFG_LINGUAS
Here you can choose the languages for which message translation
catalogs should be installed.
Note that not all programs provide translations for each language.
If set to 'all', all available translations will be installed, and
none if set to 'none'.
ROCKCFG_PARALLEL ROCKCFG_PARALLEL
Select this option if you want to perform a parallel build on several Select this option if you want to perform a parallel build on several
machines or if you build on a multiprocessor machine. machines or if you build on a multiprocessor machine.

+ 2
- 0
scripts/parse-config

@ -97,6 +97,8 @@ export BUILDCXX="c++" BUILD_CXX="c++" HOSTCXX="c++" HOST_CXX="c++"
if [ "$ROCKCFG_LINGUAS" == "all" ] ; then if [ "$ROCKCFG_LINGUAS" == "all" ] ; then
unset LINGUAS unset LINGUAS
elif [ "$ROCKCFG_LINGUAS" == "none" ] ; then
export LINGUAS=
else else
export LINGUAS="$ROCKCFG_LINGUAS" export LINGUAS="$ROCKCFG_LINGUAS"
fi fi

Loading…
Cancel
Save