Home | History | Annotate | Line # | Download | only in man0
Makefile revision 1.5
      1 #	from: @(#)Makefile	5.9 (Berkeley) 7/1/91
      2 #	$NetBSD: Makefile,v 1.5 2001/06/26 02:26:06 hubertf Exp $
      3 
      4 .include <bsd.own.mk>
      5 
      6 .if ${MKSHARE} != "no"
      7 FILES=		makewhatis.sed COPYRIGHT
      8 FILESDIR=	/usr/share/man
      9 .endif
     10 MKOBJ=		no
     11 
     12 CLEANFILES+=	man?
     13 CLEANFILES+=	man?pages.tmp
     14 CLEANFILES+=	man?pages.ps
     15 CLEANFILES+=	toc? tocx?
     16 
     17 man:
     18 	sh mkman
     19 
     20 man.ps:
     21 	for i in 1 2 3 4 5 6 7 8 9 ; 				\
     22 	do							\
     23 		for f in `cat man$${i}` ; 			\
     24 		do						\
     25 			echo >&2 $${f} ; 			\
     26 			troff -msafer -man -Tps $${f} ;		\
     27 		done >man$${i}pages.tmp ;			\
     28 		grops <man$${i}pages.tmp >man$${i}pages.ps ;	\
     29 		rm man$${i}pages.tmp ; 				\
     30 	done
     31 
     32 .include <bsd.prog.mk>
     33