# $OpenBSD: Makefile,v 1.5 2017/06/12 18:49:34 espie Exp $ # @(#)Makefile 8.1 (Berkeley) 6/8/93 MSRCS= doc doc-ditroff doc-common doc-nroff doc-syms BINDIR= /usr/share/tmac/mdoc LINKS= ${BINDIR}/doc ${BINDIR}/../tmac.doc STRIP_SED = ${.CURDIR}/../strip.sed NOOBJ= noobj all clean cleandir depend 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