Subject: misc/6094: Makefile is broken for kprintf.9
To: None <gnats-bugs@gnats.netbsd.org>
From: Chris Jones <cjones@hideo.nervana.montana.edu>
List: netbsd-bugs
Date: 09/03/1998 10:24:22
>Number:         6094
>Category:       misc
>Synopsis:       Makefile is broken for kprintf.9
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep  3 09:35:00 1998
>Last-Modified:
>Originator:     Chris Jones
>Organization:
Center for Computational Biology, Montana State University
>Release:        Sep 3, 1998
>Environment:
	
System: NetBSD hideo 1.3G NetBSD 1.3G (HIDEO) #7: Thu Aug 13 10:46:35 MDT 1998 root@hideo:/usr/src/sys/arch/i386/compile/HIDEO i386


>Description:
Two problems with src/share/man/man9/Makefile.  The first is that
kprintf.9 isn't listed under the MAN variable.  Second is that the
format of its MLINKS assignment is wrong.
>How-To-Repeat:
cd /usr/src/share/man/man9 && make && make install
>Fix:

*** Makefile	Wed Sep  2 05:09:02 1998
--- Makefile.new	Thu Sep  3 10:21:15 1998
***************
*** 7,13 ****
  	fetch.9 fork1.9 inittodr.9 intro.9 log.9 malloc.9 mbuf.9 panic.9 \
  	pfil.9 physio.9 pool.9 psignal.9 resettodr.9 rnd.9 rt_timer.9 \
  	shutdownhook_establish.9 sleep.9 spl.9 store.9 time.9 timeout.9 \
! 	vslock.9 uvm.9
  MLINKS+=arp.9 arp_ifinit.9 arp.9 arpresolve.9 arp.9 arpintr.9
  MLINKS+=access.9 kernacc.9 access.9 useracc.9
  MLINKS+=bus_space.9 bus_space_alloc.9 bus_space.9 bus_space_barrier.9 \
--- 7,13 ----
  	fetch.9 fork1.9 inittodr.9 intro.9 log.9 malloc.9 mbuf.9 panic.9 \
  	pfil.9 physio.9 pool.9 psignal.9 resettodr.9 rnd.9 rt_timer.9 \
  	shutdownhook_establish.9 sleep.9 spl.9 store.9 time.9 timeout.9 \
! 	vslock.9 uvm.9 kprintf.9
  MLINKS+=arp.9 arp_ifinit.9 arp.9 arpresolve.9 arp.9 arpintr.9
  MLINKS+=access.9 kernacc.9 access.9 useracc.9
  MLINKS+=bus_space.9 bus_space_alloc.9 bus_space.9 bus_space_barrier.9 \
***************
*** 78,84 ****
  	mbuf.9 M_ALIGN.9 mbuf.9 MH_ALIGN.9 mbuf.9 M_LEADINGSPACE.9 \
  	mbuf.9 M_TRAILINGSPACE.9 mbuf.9 M_PREPEND.9 mbuf.9 MCHTYPE.9 \
  	mbuf.9 MEXTREMOVE.9 mbuf.9 MFREE.9
! MLINKS+=kprintf.9 printf.9 sprintf.9 vprintf.9 uprintf.9 ttyprintf.9
  MLINKS+=rnd.9 rnd_attach_source.9 rnd.9 rnd_detach_source.9 \
  	rnd.9 rnd_add_data.9 rnd.9 rnd_add_uint32.9
  MLINKS+=rt_timer.9 rt_timer_queue_create.9 rt_timer.9 rt_timer_queue_change.9 \
--- 78,85 ----
  	mbuf.9 M_ALIGN.9 mbuf.9 MH_ALIGN.9 mbuf.9 M_LEADINGSPACE.9 \
  	mbuf.9 M_TRAILINGSPACE.9 mbuf.9 M_PREPEND.9 mbuf.9 MCHTYPE.9 \
  	mbuf.9 MEXTREMOVE.9 mbuf.9 MFREE.9
! MLINKS+=kprintf.9 printf.9 kprintf.9 sprintf.9 kprintf.9 vprintf.9 \
! 	kprintf.9 uprintf.9 kprintf.9 ttyprintf.9
  MLINKS+=rnd.9 rnd_attach_source.9 rnd.9 rnd_detach_source.9 \
  	rnd.9 rnd_add_data.9 rnd.9 rnd_add_uint32.9
  MLINKS+=rt_timer.9 rt_timer_queue_create.9 rt_timer.9 rt_timer_queue_change.9 \
>Audit-Trail:
>Unformatted: