freebsd-dev/gnu/usr.bin/groff/mm/Makefile

33 lines
890 B
Makefile
Raw Normal View History

TMACOWN?= ${BINOWN}
TMACGRP?= ${BINGRP}
TMACMODE?= ${NOBINMODE}
1996-09-08 01:27:58 +00:00
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
1996-09-08 01:27:58 +00:00
.include "../Makefile.cfg"
.include <bsd.prog.mk>