diff options
Diffstat (limited to 'gnu/usr.bin/groff')
-rw-r--r-- | gnu/usr.bin/groff/contrib/mm/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/gnu/usr.bin/groff/contrib/mm/Makefile b/gnu/usr.bin/groff/contrib/mm/Makefile index 3df1245..a6ed64e 100644 --- a/gnu/usr.bin/groff/contrib/mm/Makefile +++ b/gnu/usr.bin/groff/contrib/mm/Makefile @@ -3,12 +3,13 @@ SCRIPTS= mmroff.pl MAN= mmroff.7 -TMACOWN?= ${BINOWN} -TMACGRP?= ${BINGRP} -TMACMODE?= ${NOBINMODE} TMACDIR?= ${SHAREDIR}/tmac -FILES= 0.MT 5.MT 4.MT ms.cov se_ms.cov +FILES= m.tmac mse.tmac +FILESDIR_m.tmac=${TMACDIR} +FILESDIR_mse.tmac=${TMACDIR} +FILES+= 0.MT 5.MT 4.MT ms.cov se_ms.cov +FILESDIR= ${TMACDIR}/mm LOCALE= locale se_locale MAN+= groff_mm.7 groff_mmse.7 @@ -17,17 +18,13 @@ MLINKS= groff_mm.7 mm.7 groff_mmse.7 mmse.7 CLEANFILES+= ${MAN} beforeinstall: - ${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \ - ${DIST_DIR}/m.tmac ${DIST_DIR}/mse.tmac ${DESTDIR}${TMACDIR} -.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} \ + ${INSTALL} -c -o ${FILESOWN} -g ${FILESGRP} -m ${FILESMODE} \ /dev/null ${DESTDIR}${TMACDIR}/mm/${locale} .endif .endfor .include <bsd.prog.mk> + +.PATH: ${DIST_DIR}/mm |