summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/groff/tmac
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1995-01-15 08:30:25 +0000
committerpst <pst@FreeBSD.org>1995-01-15 08:30:25 +0000
commitecb5f40293fe9714ba8653e4a3414342617c53d7 (patch)
tree058ca9c58652df186570c7e114ab8b230030de82 /gnu/usr.bin/groff/tmac
parent435c3c0d28264dbbad3d929f13c1a1307252cfe1 (diff)
downloadFreeBSD-src-ecb5f40293fe9714ba8653e4a3414342617c53d7.zip
FreeBSD-src-ecb5f40293fe9714ba8653e4a3414342617c53d7.tar.gz
Layer in all FreeBSD patches
Diffstat (limited to 'gnu/usr.bin/groff/tmac')
-rw-r--r--gnu/usr.bin/groff/tmac/Makefile50
-rw-r--r--gnu/usr.bin/groff/tmac/tmac.andoc2
2 files changed, 51 insertions, 1 deletions
diff --git a/gnu/usr.bin/groff/tmac/Makefile b/gnu/usr.bin/groff/tmac/Makefile
new file mode 100644
index 0000000..115b24d
--- /dev/null
+++ b/gnu/usr.bin/groff/tmac/Makefile
@@ -0,0 +1,50 @@
+# Makefile for groff macros
+
+TMACOWN?= bin
+TMACGRP?= bin
+TMACMODE?= 444
+TMACDIR?= /usr/share/tmac
+MDOCDIR?= $(TMACDIR)/mdoc
+
+MAN7= groff_ms.7 me.7
+MLINKS= groff_ms.7 ms.7
+
+MANDEPEND= ${MAN7}
+CLEANFILES+= temp ${MANDEPEND}
+
+FILES= tmac.andoc tmac.pic tmac.ps tmac.psnew tmac.psold\
+ tmac.pspic tmac.psatk tmac.dvi tmac.tty tmac.tty-char tmac.X\
+ tmac.Xps tmac.latin1 eqnrc troffrc
+STRIPFILES= tmac.e tmac.doc tmac.doc.old
+MDOCFILES= doc-common doc-ditroff doc-nroff doc-syms
+
+
+afterinstall:
+ for f in ${FILES}; do \
+ install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
+ ${.CURDIR}/$$f ${DESTDIR}${TMACDIR}; \
+ done
+ install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
+ ${.CURDIR}/tmac.s ${DESTDIR}${TMACDIR}/tmac.groff_ms
+ install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
+ ${.CURDIR}/tmac.an ${DESTDIR}${TMACDIR}/tmac.groff_an
+ install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
+ ${.CURDIR}/tmac.andoc ${DESTDIR}${TMACDIR}/tmac.an
+ for f in ${STRIPFILES}; do \
+ rm -f temp; \
+ sed -f ${.CURDIR}/strip.sed ${.CURDIR}/$$f >temp; \
+ install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
+ temp ${DESTDIR}${TMACDIR}/$$f; \
+ done
+ for f in ${MDOCFILES}; do \
+ rm -f temp; \
+ sed -f ${.CURDIR}/strip.sed ${.CURDIR}/$$f >temp; \
+ install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
+ temp ${DESTDIR}${MDOCDIR}/$$f; \
+ done
+ -test -f ${DESTDIR}${TMACDIR}/man.local || \
+ install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
+ ${.CURDIR}/man.local ${DESTDIR}${MDOCDIR}
+
+.include "../Makefile.cfg"
+.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/groff/tmac/tmac.andoc b/gnu/usr.bin/groff/tmac/tmac.andoc
index fd1bad0..e9dcea7 100644
--- a/gnu/usr.bin/groff/tmac/tmac.andoc
+++ b/gnu/usr.bin/groff/tmac/tmac.andoc
@@ -7,6 +7,6 @@
..
.de TH
.rm TH
-.mso tmac.an
+.mso tmac.groff_an
\\*(TH\\
..
OpenPOWER on IntegriCloud