1# 2# Copyright (c) 1986 Regents of the University of California. 3# All rights reserved. The Berkeley software License Agreement 4# specifies the terms and conditions for redistribution. 5# 6# @(#)Makefile 6.1 (Berkeley) 05/23/86 7# 8DOCS = p0 p1 p2 p3 p4 p5 p6 p7 9# 10# 11# Change these to change the way the document is printed out 12# 13FMT = ditroff 14PKG = -msU 15PRINTER = -Pdp 16FMTOPTIONS = 17TBL = dtbl 18 19all: sources fmt 20 21clean: 22 -rm $(FMTDST) 23 24srcs: sources 25sources: $(DOCS) 26$(DOCS): 27 sccs get $@ 28 29 30 31docs.raw: $(DOCS) 32 33fmt: $(DOCS) 34 refer -p Refs -e $(DOCS) | $(TBL) $(PRINTER) | $(FMT) $(FMTOPTIONS) $(PKG) $(PRINTER) 35 36aps: $(DOCS) 37 refer -p Refs -e $(DOCS) | $(TBL) $(PRINTER) | $(FMT) $(FMTOPTIONS) $(PKG) $(PRINTER) | $(LPR) 38 39indexable: $(DOCS) 40 refer -p Refs -e $(DOCS) | $(TBL) $(PRINTER) | sed -f ../pre.sed | $(FMT) $(FMTOPTIONS) $(PKG) $(PRINTER) | sed -f ../post.sed >../learn.a 41 42