|  | @@ -60,6 +60,14 @@
 | 
	
		
			
				|  |  |  <screen><userinput remap="pre">sed -i -e '1i KEYCODES_PROGS = @KEYCODES_PROGS@' \
 | 
	
		
			
				|  |  |      -e '1i RESIZECONS_PROGS = @RESIZECONS_PROGS@' src/Makefile.in</userinput></screen>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    <para>This version of Kbd will also install man pages for optional programs
 | 
	
		
			
				|  |  | +    even if we don't use the <parameter>--enable-optional-progs</parameter>
 | 
	
		
			
				|  |  | +    option to build them. Fix this behavior:</para>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<screen><userinput remap="pre">var=OPTIONAL_PROGS
 | 
	
		
			
				|  |  | +sed -i "s/ifdef $var/ifeq (\$($var),yes)/" man/Makefile.in
 | 
	
		
			
				|  |  | +unset var</userinput></screen>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      <para>Prepare Kbd for compilation:</para>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <screen><userinput remap="configure">./configure --prefix=/usr --datadir=/lib/kbd</userinput></screen>
 |