3e3f2eab1b
ownership and permissions. Use `:', rather than `.' to separate user and group in chown commands in case we ever decide to remove the support for the (obsolete) `.' separator.
30 lines
850 B
Makefile
30 lines
850 B
Makefile
# from: @(#)Makefile 6.13 (Berkeley) 3/20/91
|
|
# $Id: Makefile,v 1.9 1993/09/30 23:01:03 jtc Exp $
|
|
|
|
BINDIR= /usr/share
|
|
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 tmac.doc.old
|
|
|
|
all clean cleandir depend lint tags:
|
|
|
|
beforeinstall:
|
|
@install -d -o root -g wheel -m 755 ${DESTDIR}${BINDIR}/tmac
|
|
|
|
realinstall:
|
|
for i in ${MSRCS}; do \
|
|
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>
|