NetBSD/share/doc/usd/11.notes/Makefile

88 lines
2.0 KiB
Makefile
Raw Normal View History

1993-07-31 19:27:53 +04:00
# from: @(#)Makefile 6.1 (Berkeley) 5/26/86
# $Id: Makefile,v 1.2 1993/07/31 15:30:23 mycroft Exp $
1993-03-21 12:45:37 +03:00
#
# Makefile for the notesfile reference manual
# March 29, 1982
# Ray Essick, University of Illinois
# uiucdcs!essick uiucdcs!notes
#
# Note that the macros are set up for two-sided copying.
# The page numbers alternate between the left and right
# sides of the page.
# See the file "macros" and the macro "hh" to modify this
#
# This copy of everything has been modified to run with troff
# and a typesetter. Hopefully the only changes to make it
# run again under nroff will be in page length/width statements.
DISTDIR = p:/usr/src/uiuc/notesfiles
DCP= rcp
NROPTS =
TROPTS =
PRINTER = -Pdp
# ditroff actually prints the mother
TROFF = ditroff
NROFF = nroff
NOUT = qprx
FILES= 0.long 0.short \
1 2.1 2.2 3.1 3.2 \
4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 \
5 \
a.checklist b.interface c.changes
LONGFILES= 0.long \
1 2.1 2.2 3.1 3.2 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 \
5 a.checklist b.interface c.changes
SHORTFILES= 0.short \
1 2.1 2.2 4.0 4.1 4.2 4.3 4.4 4.5
OTHERS = macros vtoc Makefile acks
man: shortman
all: longman shortman
longman: $(LONGFILES) macros vtoc acks
$(TROFF) $(TROPTS) $(PRINTER) macros $(LONGFILES) vtoc acks
shortman: $(SHORTFILES) macros vtoc
$(TROFF) $(TROPTS) $(PRINTER) macros $(SHORTFILES) vtoc
longout: $(LONGFILES) macros vtoc acks
$(NROFF) $(NROPTS) macros $(LONGFILES) vtoc acks > longout
shortout: $(SHORTFILES) macros vtoc
$(NROFF) $(NROPTS) macros $(SHORTFILES) vtoc > shortout
print: longout
$(NOUT) longout
printsh: shortout
$(NOUT) shortout
help:
@echo "make longman/shortman for long/abridged user man via ditroff"
@echo "make longout/shortout for long/abridged user man via nroff"
@echo "make print prints long nroff output"
#
# Maintainence.
#
spell: $(FILES)
sp $?
touch spell
diction: out
diction out > diction
style: out
style out > style
dist: $(FILES) $(OTHERS)
${DCP} $? $(DISTDIR)/doc/.
touch dist
clean:
rm -f man out Make.errs
rm -f diction style spell sp.*
install: