From 083ad6c6480d6e96a7975bd403ada49f4bc429e7 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 17 Jan 1995 18:31:07 +0000 Subject: [PATCH] Rename tmacs properly (me) Strip renamed pages before install --- gnu/usr.bin/groff/tmac/Makefile | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/gnu/usr.bin/groff/tmac/Makefile b/gnu/usr.bin/groff/tmac/Makefile index 115b24df05da..094e8821e33b 100644 --- a/gnu/usr.bin/groff/tmac/Makefile +++ b/gnu/usr.bin/groff/tmac/Makefile @@ -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; \