freebsd-skq/gnu/usr.bin/groff/mm/Makefile
bde 5ea6574bbd Use BINOWN, etc. instead of bin, etc. so that (this part of)
`BINOWN=... make world' can be run by users other than root.
1997-12-17 12:04:53 +00:00

33 lines
890 B
Makefile

TMACOWN?= ${BINOWN}
TMACGRP?= ${BINGRP}
TMACMODE?= ${NOBINMODE}
TMACDIR?= /usr/share/tmac
FILES= 0.MT 5.MT 4.MT ms.cov se_ms.cov
LOCALE= locale se_locale
MAN7= groff_mm.7 groff_mmse.7
MLINKS= groff_mm.7 mm.7 groff_mmse.7 mmse.7
MANDEPEND= ${MAN7}
CLEANFILES+= ${MANDEPEND}
beforeinstall:
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${DIST_DIR}/tmac.m ${DESTDIR}${TMACDIR}/
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${DIST_DIR}/tmac.m ${DESTDIR}${TMACDIR}/tmac.mse
.for file in ${FILES}
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${DIST_DIR}/mm/${file} ${DESTDIR}${TMACDIR}/mm/
.endfor
.for locale in ${LOCALE}
.if !exists(${locale}) || empty(${locale})
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
/dev/null ${DESTDIR}${TMACDIR}/mm/${locale}
.endif
.endfor
.include "../Makefile.cfg"
.include <bsd.prog.mk>