Subject: patch for share/man/man4/Makefile to help small machines
To: None <current@NetBSD.ORG>
From: Julian H Stacey <Julian.H.Stacey@regent.e-technik.tu-muenchen.de>
List: current
Date: 10/05/1994 17:34:45
This patch enables the source tree to be compiled on systems that don't
have so much disc, & where spurious other architecture have been pruned
prior to compilation. 

If this patch is not applied, the make breaks, in fact,
if the subdirs are not there, the make loops forever.

Hopefully someone may like to commit it, 
(Phil maybe ? as I did it originally for the PC532, 
though it's valid for all arch.s)

*** old/src/share/man/man4/Makefile	Wed Sep 21 19:50:00 1994
--- new/src/share/man/man4/Makefile	Wed Oct  5 11:54:48 1994
***************
*** 5,10 ****
  	inet.0 ip.0 iso.0 lkm.0 lo.0 netintro.0 ns.0 nsip.0 null.0 pty.0 \
  	route.0 spp.0 tb.0 tcp.0 termios.0 tp.0 udp.0 unix.0
  MLINKS=	netintro.4 networking.4
! SUBDIR=	man4.amiga man4.hp300 man4.i386 man4.mac68k man4.sparc man4.tahoe man4.vax
  
  .include <bsd.prog.mk>
--- 5,31 ----
  	inet.0 ip.0 iso.0 lkm.0 lo.0 netintro.0 ns.0 nsip.0 null.0 pty.0 \
  	route.0 spp.0 tb.0 tcp.0 termios.0 tp.0 udp.0 unix.0
  MLINKS=	netintro.4 networking.4
! 
! .if ${MACHINE_ARCH} == "amiga"
! SUBDIR=	man4.amiga
! .endif
! .if ${MACHINE_ARCH} == "hp300"
! SUBDIR=	man4.hp300
! .endif
! .if ${MACHINE_ARCH} == "i386"
! SUBDIR=	man4.i386
! .endif
! .if ${MACHINE_ARCH} == "mac68k"
! SUBDIR=	man4.mac68k
! .endif
! .if ${MACHINE_ARCH} == "sparc"
! SUBDIR=	man4.sparc
! .endif
! .if ${MACHINE_ARCH} == "tahoe"
! SUBDIR=	man4.tahoe
! .endif
! .if ${MACHINE_ARCH} == "vax"
! SUBDIR=	man4.vax
! .endif
  
  .include <bsd.prog.mk>

PS I've added cc: me, as I've been cutting back on lists temporarily, as overloaded

Julian Stacey <stacey@freefall.cdrom.com>