Makefile revision 1.5
11.1Smycroft# from: @(#)Makefile 5.9 (Berkeley) 7/1/91 21.5Shubertf# $NetBSD: Makefile,v 1.5 2001/06/26 02:26:06 hubertf Exp $ 31.1Smycroft 41.4Slukem.include <bsd.own.mk> 51.4Slukem 61.4Slukem.if ${MKSHARE} != "no" 71.1SmycroftFILES= makewhatis.sed COPYRIGHT 81.1SmycroftFILESDIR= /usr/share/man 91.3Slukem.endif 101.4SlukemMKOBJ= no 111.5Shubertf 121.5ShubertfCLEANFILES+= man? 131.5ShubertfCLEANFILES+= man?pages.tmp 141.5ShubertfCLEANFILES+= man?pages.ps 151.5ShubertfCLEANFILES+= toc? tocx? 161.5Shubertf 171.5Shubertfman: 181.5Shubertf sh mkman 191.5Shubertf 201.5Shubertfman.ps: 211.5Shubertf for i in 1 2 3 4 5 6 7 8 9 ; \ 221.5Shubertf do \ 231.5Shubertf for f in `cat man$${i}` ; \ 241.5Shubertf do \ 251.5Shubertf echo >&2 $${f} ; \ 261.5Shubertf troff -msafer -man -Tps $${f} ; \ 271.5Shubertf done >man$${i}pages.tmp ; \ 281.5Shubertf grops <man$${i}pages.tmp >man$${i}pages.ps ; \ 291.5Shubertf rm man$${i}pages.tmp ; \ 301.5Shubertf done 311.1Smycroft 321.1Smycroft.include <bsd.prog.mk> 33