1994-05-30 19:09:18 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 1986, 1993 Regents of the University of California.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
1995-01-11 21:33:54 +00:00
|
|
|
# From: @(#)Makefile 8.2 (Berkeley) 1/29/94
|
1997-02-22 13:26:29 +00:00
|
|
|
# $Id$
|
1994-05-30 19:09:18 +00:00
|
|
|
#
|
|
|
|
SRCS= man1 man2 man3 man4 man5 man6 man7 man8
|
|
|
|
|
|
|
|
MACROS= -ms
|
1995-01-11 21:33:54 +00:00
|
|
|
PRINTER=ps
|
1994-05-30 19:09:18 +00:00
|
|
|
TBL= tbl
|
|
|
|
TROFF= groff
|
|
|
|
|
|
|
|
all: title.urm.${PRINTER} title.prm.${PRINTER}
|
|
|
|
|
|
|
|
print: title.urm.${PRINTER} title.prm.${PRINTER}
|
|
|
|
lpr -${PRINTER} title.urm.${PRINTER}
|
|
|
|
lpr -${PRINTER} title.prm.${PRINTER}
|
|
|
|
|
|
|
|
title.urm.${PRINTER}: title.urm ptxx
|
|
|
|
${TBL} title.urm | ${TROFF} ${MACROS} >title.urm.${PRINTER}
|
|
|
|
|
|
|
|
title.prm.${PRINTER}: ${SRCS} title.prm ptxx
|
|
|
|
${TROFF} title.prm >title.prm.${PRINTER}
|
|
|
|
|
|
|
|
ptxx:
|
|
|
|
./tocrc
|
|
|
|
|
|
|
|
man1pages: man1
|
|
|
|
rm -f man1.out
|
|
|
|
for i in `cat man1`; do \
|
|
|
|
sed -f groff.sed $$i | groff -man >>man1pages; \
|
|
|
|
done;
|
|
|
|
|
|
|
|
man2pages: man2
|
|
|
|
rm -f man2.out
|
|
|
|
for i in `cat man2`; do groff -man $$i >>man2pages; done;
|
|
|
|
|
|
|
|
man3pages: man3
|
|
|
|
rm -f man3.out
|
|
|
|
for i in `cat man3`; do groff -man $$i >>man3pages; done;
|
|
|
|
|
|
|
|
man4pages: man4
|
|
|
|
rm -f man4.out
|
|
|
|
for i in `cat man4`; do groff -man $$i >>man4pages; done;
|
|
|
|
|
|
|
|
man5pages: man5
|
|
|
|
rm -f man5.out
|
|
|
|
for i in `cat man5`; do \
|
|
|
|
sed -f groff.sed $$i | groff -man >>man5pages; \
|
|
|
|
done;
|
|
|
|
|
|
|
|
man6pages: man6
|
|
|
|
rm -f man6.out
|
|
|
|
for i in `cat man6`; do groff -man $$i >>man6pages; done;
|
|
|
|
|
|
|
|
man7pages: man7
|
|
|
|
rm -f man7.out
|
|
|
|
for i in `cat man7`; do \
|
|
|
|
sed -f groff.sed $$i | groff -man >>man7pages; \
|
|
|
|
done;
|
|
|
|
|
|
|
|
man8pages: man8
|
|
|
|
rm -f man8.out
|
|
|
|
for i in `cat man8`; do groff -man $$i >>man8pages; done;
|
|
|
|
|
|
|
|
clean:
|
1995-01-11 21:33:54 +00:00
|
|
|
rm -f title.urm.${PRINTER} title.prm.${PRINTER} toc? tocx? ptxx \
|
1994-05-30 19:09:18 +00:00
|
|
|
*.spell errs Errs make.out
|