summaryrefslogtreecommitdiff
path: root/share/tmac/mdoc/Makefile
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-08-23 15:21:04 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-08-23 15:21:04 +0000
commitab380dae660cffc588d261d92da0327cf477a009 (patch)
tree67fc014edfd2c2aaed790c9d1089bf294b699e1a /share/tmac/mdoc/Makefile
parentf4b05862816ba20fdfcfc9483884b12f1d663b5a (diff)
Import of 4.4BSD-Lite2's troff doc stuff
Diffstat (limited to 'share/tmac/mdoc/Makefile')
-rw-r--r--share/tmac/mdoc/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/share/tmac/mdoc/Makefile b/share/tmac/mdoc/Makefile
new file mode 100644
index 00000000000..40614074535
--- /dev/null
+++ b/share/tmac/mdoc/Makefile
@@ -0,0 +1,24 @@
+# @(#)Makefile 8.1 (Berkeley) 6/8/93
+
+FILES= tmac.r tmac.andoc tmac.s tmac.e
+MSRCS= doc doc-ditroff doc-common doc-nroff doc-syms
+
+LINKS= ${BINDIR}/tmac/tmac.andoc ${BINDIR}/tmac/tmac.an
+NOOBJ= noobj
+
+# old macros not currently installed...
+# OFILES= tmac.a tmac.cp
+
+all clean cleandir depend lint tags:
+
+beforeinstall:
+ 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>