1# $MirOS: src/share/doc/usd/Makefile,v 1.3 2005/07/24 13:07:58 tg Exp $ 2# $OpenBSD: Makefile,v 1.8 2004/10/10 02:53:28 mickey Exp $ 3 4INSTDIR=usd 5FILES= 00.contents Makefile Title 6SUBDIR!=echo */Makefile | sed 's,/Makefile[[:>:]],,g' 7 8.include <bsd.own.mk> 9 10all: _SUBDIRUSE 11all: Title.txt contents.txt 12 13Title.ps: ${FILES} 14 ${ROFF} Title >${.TARGET} 15Title.txt: ${FILES} 16 ${NROFF} Title >${.TARGET} 17 18contents.ps: ${FILES} 19 ${ROFF} -ms 00.contents >${.TARGET} 20contents.txt: ${FILES} 21 ${NROFF} -ms 00.contents >${.TARGET} 22 23beforeinstall: 24 install -c -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} ${FILES} \ 25 ${DESTDIR}${DOCDIR}/${INSTDIR} 26 27.include <bsd.subdir.mk> 28