home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 02_learn / makefile next >
Encoding:
Makefile  |  1986-05-23  |  878 b   |  42 lines

  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) 5/23/86
  7. #
  8. DOCS = p0 p1 p2 p3 p4 p5 p6 p7
  9. #
  10. #
  11. # Change these to change the way the document is printed out
  12. #
  13. FMT = ditroff
  14. PKG = -msU
  15. PRINTER = -Pdp
  16. FMTOPTIONS =
  17. TBL = dtbl
  18.  
  19. all: sources fmt
  20.  
  21. clean:
  22.     -rm $(FMTDST)
  23.  
  24. srcs: sources
  25. sources:  $(DOCS)
  26. $(DOCS):
  27.     sccs get $@
  28.  
  29.  
  30.  
  31. docs.raw: $(DOCS)
  32.  
  33. fmt: $(DOCS)
  34.     refer -p Refs -e $(DOCS) | $(TBL) $(PRINTER) | $(FMT) $(FMTOPTIONS) $(PKG) $(PRINTER)
  35.  
  36. aps: $(DOCS)
  37.     refer -p Refs -e $(DOCS) | $(TBL) $(PRINTER) | $(FMT) $(FMTOPTIONS) $(PKG) $(PRINTER) | $(LPR)
  38.  
  39. indexable: $(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.