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

49 lines
1.4 KiB
Makefile
Raw Normal View History

1995-01-15 08:30:25 +00:00
# Makefile for groff macros
TMACOWN?= bin
TMACGRP?= bin
TMACMODE?= 444
TMACDIR?= /usr/share/tmac
MDOCDIR?= ${TMACDIR}/mdoc
1995-01-15 08:30:25 +00:00
MAN7= groff_ms.7 me.7
MLINKS= groff_ms.7 ms.7
LINKS= ${TMACDIR}/tmac.andoc ${TMACDIR}/tmac.an
1995-01-15 08:30:25 +00:00
MANDEPEND= ${MAN7}
CLEANFILES+= temp ${MANDEPEND} tmac.groff_an
1995-01-15 08:30:25 +00:00
FILES= tmac.andoc tmac.pic tmac.ps tmac.psnew tmac.psold\
1995-01-15 08:30:25 +00:00
tmac.pspic tmac.psatk tmac.dvi tmac.tty tmac.tty-char tmac.X\
tmac.Xps tmac.latin1 eqnrc troffrc
STRIPFILES= tmac.e tmac.s tmac.doc tmac.doc.old
1995-01-15 08:30:25 +00:00
MDOCFILES= doc-common doc-ditroff doc-nroff doc-syms
beforeinstall:
1995-01-15 08:30:25 +00:00
for f in ${FILES}; do \
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${.CURDIR}/$$f ${DESTDIR}${TMACDIR}; \
done
sed -f ${.CURDIR}/strip.sed ${.CURDIR}/tmac.an >tmac.groff_an
1995-01-15 08:30:25 +00:00
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
tmac.groff_an ${DESTDIR}${TMACDIR}
1995-01-15 08:30:25 +00:00
for f in ${STRIPFILES}; do \
rm -f temp; \
sed -f ${.CURDIR}/strip.sed ${.CURDIR}/$$f >temp; \
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
temp ${DESTDIR}${TMACDIR}/$$f; \
done
for f in ${MDOCFILES}; do \
rm -f temp; \
sed -f ${.CURDIR}/strip.sed ${.CURDIR}/$$f >temp; \
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
temp ${DESTDIR}${MDOCDIR}/$$f; \
done
test -f ${DESTDIR}${TMACDIR}/man.local || \
1995-01-15 08:30:25 +00:00
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${.CURDIR}/man.local ${DESTDIR}${TMACDIR}
1995-01-15 08:30:25 +00:00
.include "../Makefile.cfg"
.include <bsd.prog.mk>