home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 11_notes / makefile < prev    next >
Encoding:
Makefile  |  1986-05-27  |  2.0 KB  |  89 lines

  1. #    @(#)Makefile    6.1 (Berkeley) 5/26/86
  2. #
  3. #    Makefile for the notesfile reference manual
  4. #    March 29, 1982
  5. #    Ray Essick, University of Illinois
  6. #    uiucdcs!essick     uiucdcs!notes
  7. #
  8. #    Note that the macros are set up for two-sided copying.
  9. #    The page numbers alternate between the left and right 
  10. #    sides of the page.
  11. #    See the file "macros" and the macro "hh" to modify this
  12. #
  13. #    This copy of everything has been modified to run with troff
  14. #    and a typesetter. Hopefully the only changes to make it
  15. #    run again under nroff will be in page length/width statements.
  16. #
  17. #
  18.  
  19. DISTDIR    = p:/usr/src/uiuc/notesfiles
  20. DCP=    rcp
  21. NROPTS    = 
  22. TROPTS    = 
  23. PRINTER    = -Pdp
  24. #    ditroff actually prints the mother
  25. TROFF    = ditroff
  26. NROFF    = nroff
  27. NOUT    = qprx
  28. FILES=    0.long 0.short \
  29.     1 2.1 2.2 3.1 3.2 \
  30.     4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 \
  31.     5 \
  32.     a.checklist b.interface c.changes
  33. LONGFILES= 0.long \
  34.     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 \
  35.     5 a.checklist b.interface c.changes
  36. SHORTFILES= 0.short \
  37.     1 2.1 2.2 4.0 4.1 4.2 4.3 4.4 4.5
  38. OTHERS    = macros vtoc Makefile acks
  39.  
  40. man:    shortman
  41. all:    longman shortman
  42.  
  43. longman:    $(LONGFILES) macros vtoc acks
  44.     $(TROFF) $(TROPTS) $(PRINTER) macros $(LONGFILES) vtoc acks
  45.  
  46. shortman: $(SHORTFILES) macros vtoc
  47.     $(TROFF) $(TROPTS) $(PRINTER) macros $(SHORTFILES) vtoc
  48.  
  49. longout: $(LONGFILES) macros vtoc acks
  50.     $(NROFF) $(NROPTS) macros $(LONGFILES) vtoc acks > longout
  51.  
  52. shortout: $(SHORTFILES) macros vtoc
  53.     $(NROFF) $(NROPTS) macros $(SHORTFILES) vtoc > shortout
  54.  
  55. print: longout
  56.     $(NOUT) longout
  57.  
  58. printsh: shortout
  59.     $(NOUT) shortout
  60.  
  61. help:
  62.     @echo "make longman/shortman for long/abridged user man via ditroff"
  63.     @echo "make longout/shortout for long/abridged user man via nroff"
  64.     @echo "make print prints long nroff output"
  65.  
  66. #
  67. #    Maintainence.
  68. #
  69.  
  70. spell:    $(FILES)
  71.     sp $?
  72.     touch spell
  73.  
  74. diction: out
  75.     diction out > diction
  76.  
  77. style:    out
  78.     style out > style
  79.  
  80. dist:    $(FILES) $(OTHERS)
  81.     ${DCP} $? $(DISTDIR)/doc/.
  82.     touch dist
  83.  
  84. clean:
  85.     rm -f man out Make.errs
  86.     rm -f diction style spell sp.*
  87.  
  88. install:
  89.