aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gettext.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gettext.xml')
-rw-r--r--chapter06/gettext.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/chapter06/gettext.xml b/chapter06/gettext.xml
index ef4b24741..2c4683804 100644
--- a/chapter06/gettext.xml
+++ b/chapter06/gettext.xml
@@ -76,7 +76,22 @@ sed -i 's/test-lock..EXEEXT.//' gettext-tools/gnulib-tests/Makefile.in</userinpu
<para>Compile the package:</para>
-<screen><userinput remap="make">make</userinput></screen>
+<screen><userinput remap="make">make BISON_LOCALEDIR=/usr/share/locale</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the make parameter:</title>
+
+ <varlistentry>
+ <term><parameter>BISON_LOCALEDIR=/usr/share/locale</parameter></term>
+ <listitem>
+ <para>Since bison is not yet installed in /usr, configure hardcodes
+ the directory containing translations for the bison program (the
+ "locale" directory) as /tools/share/locale. Passing this variable
+ to make allows overriding the choice made by configure.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
<para>To test the results (this takes a long time, around 3 SBUs),
issue:</para>