fixed strip.sed symlink problem, and moved "tmac.doc.old" into list of

things to not install
This commit is contained in:
cgd 1993-03-28 03:27:09 +00:00
parent 7387d068cd
commit 93ab21b4dc

View File

@ -1,24 +1,25 @@
# @(#)Makefile 6.13 (Berkeley) 3/20/91
BINDIR= /usr/share
FILES= tmac.andoc tmac.doc.old
FILES= tmac.andoc
MSRCS= doc doc-ditroff doc-common doc-nroff doc-syms
LINKS= ${BINDIR}/tmac/tmac.andoc ${BINDIR}/tmac/tmac.an
NOOBJ= noobj
STRIP_SED = ../me/strip.sed
# old macros not currently installed...
OFILES= tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp
OFILES= tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old
all clean cleandir depend lint tags:
beforeinstall:
for i in ${MSRCS}; do \
sed -f strip.sed < $$i > ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
sed -f ${STRIP_SED} < $$i > ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
chown ${BINOWN}.${BINGRP} ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
chmod 444 ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
done
install -c -o ${BINOWN} -g ${BINOWN} -m 444 ${FILES} \
${DESTDIR}${BINDIR}/tmac
.include <bsd.prog.mk>