Changeset 8537

Show
Ignore:
Timestamp:
04/23/08 10:32:52 (6 months ago)
Author:
jhuntwork
Message:

Fixed behavior in kbd where man pages for optional programs that aren't built
are installed. Thanks Greg Schafer for spotting this.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BOOK/chapter01/changelog.xml

    r8536 r8537  
    4040      <para>2008-04-23</para> 
    4141      <itemizedlist> 
     42        <listitem> 
     43          <para>[jhuntwork] - Fixed behavior in kbd where man pages 
     44          for optional programs that aren't built are installed. 
     45          Thanks Greg Schafer for spotting this. 
     46          </para> 
     47        </listitem> 
    4248        <listitem> 
    4349          <para>[jhuntwork] - Fixed kbd to install getkeycodes, 
  • trunk/BOOK/chapter06/kbd.xml

    r8536 r8537  
    6060<screen><userinput remap="pre">sed -i -e '1i KEYCODES_PROGS = @KEYCODES_PROGS@' \ 
    6161    -e '1i RESIZECONS_PROGS = @RESIZECONS_PROGS@' src/Makefile.in</userinput></screen> 
     62 
     63    <para>This version of Kbd will also install man pages for optional programs 
     64    even if we don't use the <parameter>--enable-optional-progs</parameter> 
     65    option to build them. Fix this behavior:</para> 
     66 
     67<screen><userinput remap="pre">var=OPTIONAL_PROGS 
     68sed -i "s/ifdef $var/ifeq (\$($var),yes)/" man/Makefile.in 
     69unset var</userinput></screen> 
    6270 
    6371    <para>Prepare Kbd for compilation:</para>