>From: Sascha Wildner <swildner@channelz.gun.de>
[unix-history] / share / mk / bsd.doc.mk
index 7403263..59795c5 100644 (file)
@@ -1,18 +1,23 @@
-#      @(#)bsd.doc.mk  5.3 (Berkeley) 1/2/91
+#      from: @(#)bsd.doc.mk    5.3 (Berkeley) 1/2/91
+#      $Id$
 
 PRINTER?=      ps
 
 BIB?=          bib
 
 PRINTER?=      ps
 
 BIB?=          bib
-EQN?=          eqn
+EQN?=          eqn -T${PRINTER}
 GREMLIN?=      grn
 GRIND?=                vgrind -f
 INDXBIB?=      indxbib
 PIC?=          pic
 REFER?=                refer
 GREMLIN?=      grn
 GRIND?=                vgrind -f
 INDXBIB?=      indxbib
 PIC?=          pic
 REFER?=                refer
-ROFF?=         groff -T${PRINTER} ${MACROS} ${PAGES}
+ROFF?=         groff -T${PRINTER} ${MACROS} -o${PAGES}
 SOELIM?=       soelim
 TBL?=          tbl
 
 SOELIM?=       soelim
 TBL?=          tbl
 
+# Compatibility mode flag for groff.  Use this when formatting documents with
+# Berkeley me macros.
+COMPAT?=       -C
+
 .PATH: ${.CURDIR}
 
 all:   ${DOC}.${PRINTER}
 .PATH: ${.CURDIR}
 
 all:   ${DOC}.${PRINTER}