Rename tmacs properly (me)

Strip renamed pages before install
This commit is contained in:
Andrey A. Chernov 1995-01-17 18:31:07 +00:00
parent 18156f8e0f
commit 083ad6c648
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5684

View File

@ -10,12 +10,13 @@ MAN7= groff_ms.7 me.7
MLINKS= groff_ms.7 ms.7
MANDEPEND= ${MAN7}
CLEANFILES+= temp ${MANDEPEND}
CLEANFILES+= temp ${MANDEPEND} tmac.groff_me tmac.groff_ms tmac.groff_an \
tmac.an
FILES= tmac.andoc tmac.pic tmac.ps tmac.psnew tmac.psold\
FILES= tmac.pic tmac.ps tmac.psnew tmac.psold\
tmac.pspic tmac.psatk tmac.dvi tmac.tty tmac.tty-char tmac.X\
tmac.Xps tmac.latin1 eqnrc troffrc
STRIPFILES= tmac.e tmac.doc tmac.doc.old
STRIPFILES= tmac.doc tmac.doc.old
MDOCFILES= doc-common doc-ditroff doc-nroff doc-syms
@ -24,12 +25,18 @@ afterinstall:
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${.CURDIR}/$$f ${DESTDIR}${TMACDIR}; \
done
sed -f ${.CURDIR}/strip.sed ${.CURDIR}/tmac.e >tmac.groff_me
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${.CURDIR}/tmac.s ${DESTDIR}${TMACDIR}/tmac.groff_ms
tmac.groff_me ${DESTDIR}${TMACDIR}
sed -f ${.CURDIR}/strip.sed ${.CURDIR}/tmac.s >tmac.groff_ms
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${.CURDIR}/tmac.an ${DESTDIR}${TMACDIR}/tmac.groff_an
tmac.groff_ms ${DESTDIR}${TMACDIR}
sed -f ${.CURDIR}/strip.sed ${.CURDIR}/tmac.an >tmac.groff_an
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${.CURDIR}/tmac.andoc ${DESTDIR}${TMACDIR}/tmac.an
tmac.groff_an ${DESTDIR}${TMACDIR}
sed -f ${.CURDIR}/strip.sed ${.CURDIR}/tmac.andoc >tmac.an
install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
tmac.an ${DESTDIR}${TMACDIR}
for f in ${STRIPFILES}; do \
rm -f temp; \
sed -f ${.CURDIR}/strip.sed ${.CURDIR}/$$f >temp; \