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

34 lines
795 B
Makefile
Raw Normal View History

2000-12-05 19:15:36 +00:00
# $FreeBSD$
2001-04-17 12:37:18 +00:00
SCRIPTS= mmroff.pl
MAN= mmroff.7
TMACOWN?= ${BINOWN}
TMACGRP?= ${BINGRP}
TMACMODE?= ${NOBINMODE}
2000-12-05 19:15:36 +00:00
TMACDIR?= ${SHAREDIR}/tmac
1996-09-08 01:27:58 +00:00
FILES= 0.MT 5.MT 4.MT ms.cov se_ms.cov
LOCALE= locale se_locale
2001-04-17 12:37:18 +00:00
MAN+= groff_mm.7 groff_mmse.7
1996-09-08 01:27:58 +00:00
MLINKS= groff_mm.7 mm.7 groff_mmse.7 mmse.7
2001-03-27 14:59:06 +00:00
CLEANFILES+= ${MAN}
1996-09-08 01:27:58 +00:00
beforeinstall:
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
2001-04-17 12:37:18 +00:00
${DIST_DIR}/m.tmac ${DIST_DIR}/mse.tmac ${DESTDIR}${TMACDIR}
.for file in ${FILES}
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
2000-12-05 19:15:36 +00:00
${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 <bsd.prog.mk>