1993-07-31 19:17:49 +04:00
|
|
|
# from: @(#)Makefile 6.13 (Berkeley) 3/20/91
|
|
|
|
# $Id: Makefile,v 1.7 1993/07/31 15:27:12 mycroft Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
BINDIR= /usr/share
|
1993-07-22 21:06:53 +04:00
|
|
|
FILES= tmac.andoc tmac.an.old
|
1993-03-21 12:45:37 +03:00
|
|
|
MSRCS= doc doc-ditroff doc-common doc-nroff doc-syms
|
|
|
|
LINKS= ${BINDIR}/tmac/tmac.andoc ${BINDIR}/tmac/tmac.an
|
|
|
|
NOOBJ= noobj
|
|
|
|
|
1993-03-28 07:27:09 +04:00
|
|
|
STRIP_SED = ../me/strip.sed
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
# old macros not currently installed...
|
1993-07-22 21:06:53 +04:00
|
|
|
OFILES= tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
all clean cleandir depend lint tags:
|
|
|
|
|
|
|
|
beforeinstall:
|
1993-04-09 13:43:43 +04:00
|
|
|
@if [ ! -d ${DESTDIR}${BINDIR}/tmac ]; then \
|
|
|
|
/bin/rm -f ${DESTDIR}${BINDIR}/tmac ; \
|
|
|
|
mkdir -p ${DESTDIR}${BINDIR}/tmac ; \
|
|
|
|
chown root.wheel ${DESTDIR}${BINDIR}/tmac ; \
|
|
|
|
chmod 755 ${DESTDIR}${BINDIR}/tmac ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1993-03-21 12:45:37 +03:00
|
|
|
for i in ${MSRCS}; do \
|
1993-03-28 07:27:09 +04:00
|
|
|
sed -f ${STRIP_SED} < $$i > ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
|
1993-03-21 12:45:37 +03:00
|
|
|
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>
|