aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/kbd.xml17
1 files changed, 13 insertions, 4 deletions
diff --git a/chapter06/kbd.xml b/chapter06/kbd.xml
index 7ff1e06d8..f7784bfaf 100644
--- a/chapter06/kbd.xml
+++ b/chapter06/kbd.xml
@@ -66,10 +66,19 @@ so the sed will need attention if that change is not removed before the next rel
<para>Remove the redundant <command>resizecons</command> program (32-bit x86
only, needs the defunct svgalib, which predates linux-2.6 and is incompatible
with modern KMS, to provide the video mode files - for normal use
- <command>setfont</command> sizes the console appropriately) and its manpage:</para>
-
-<screen><userinput remap="pre">sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/' configure &amp;&amp;
-sed -i 's/resizecons.8 //' man/man8/Makefile.in</userinput></screen>
+ <command>setfont</command> sizes the console appropriately) and its manpage.</para>
+
+ <para>Because we change <filename>Makefile.in</filename>, with modern autotools
+ various commands will be rerun by <command>make</command> after
+ <command>configure</command> has run. In this case, <filename>configure</filename>
+ will be regenerated, so we need to change <filename>configure.ac</filename>.
+ Running <command>autoreconf</command> ensures this all happens before
+ <command>configure</command> is run, instead of during <command>make</command>.
+ </para>
+
+<screen><userinput remap="pre">sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/' configure.ac &amp;&amp;
+sed -i 's/resizecons.8 //' man/man8/Makefile.in &amp;&amp;
+autoreconf</userinput></screen>
<para>Prepare Kbd for compilation:</para>