summaryrefslogtreecommitdiff
path: root/share/tmac/mdoc/Makefile
diff options
context:
space:
mode:
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>