NetBSD/share/tmac/Makefile

28 lines
822 B
Makefile
Raw Normal View History

1993-07-31 19:17:49 +04:00
# from: @(#)Makefile 6.13 (Berkeley) 3/20/91
# $Id: Makefile,v 1.12 1995/04/20 02:05:51 mycroft Exp $
1993-03-21 12:45:37 +03:00
BINDIR= /usr/share
FILES= tmac.andoc
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
STRIP_SED = ../me/strip.sed
1993-03-21 12:45:37 +03:00
# old macros not currently installed...
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:
realinstall:
1993-03-21 12:45:37 +03:00
for i in ${MSRCS}; do \
rm -f ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
sed -f ${STRIP_SED} < $$i > ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
chown ${BINOWN}:${BINGRP} ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
1993-03-21 12:45:37 +03:00
chmod 444 ${DESTDIR}${BINDIR}/tmac/tmac.$$i; \
done
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
1993-03-21 12:45:37 +03:00
${DESTDIR}${BINDIR}/tmac
.include <bsd.prog.mk>