aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorKen Moffat <ken@linuxfromscratch.org>2012-06-05 18:49:38 +0000
committerKen Moffat <ken@linuxfromscratch.org>2012-06-05 18:49:38 +0000
commit1857e34d212dc6558fddc6627c5eb4a95ccff994 (patch)
treebacc4b15ed9f2e1ddc8938002eb1708371284b51 /chapter06
parent9d5dd7c69deb8e3686969181e50eae67b28145ea (diff)
Really remove resizecons.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9879 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>