summaryrefslogtreecommitdiff
path: root/share/tmac/mdoc/Makefile
blob: 72d39acef0dbf00114f4a304121ad2ba1d8d8e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.2 1996/08/24 07:47:06 etheisen Exp $
#	@(#)Makefile	8.1 (Berkeley) 6/8/93

MSRCS=  doc doc-ditroff doc-common doc-nroff doc-syms
BINDIR=	/usr/share/tmac/mdoc

STRIP_SED = ${.CURDIR}/../strip.sed
NOOBJ=	noobj

all clean cleandir depend lint tags:

beforeinstall:
	for i in ${MSRCS}; do \
		sed -f ${STRIP_SED} < $$i > ${DESTDIR}${BINDIR}/$$i; \
		chown ${BINOWN}.${BINGRP} ${DESTDIR}${BINDIR}/$$i; \
		chmod 444 ${DESTDIR}${BINDIR}/$$i; \
	done

.include <bsd.prog.mk>