home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 14_edit / makefile < prev   
Encoding:
Makefile  |  1986-05-28  |  929 b   |  35 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/27/86
  7. #
  8. SRCS=    edittut.ms
  9. MACROS=    -msU
  10. PRINTER=Pdp
  11. TBL=    dtbl -${PRINTER}
  12. TROFF=    ditroff -${PRINTER}
  13.  
  14. paper:    paper.${PRINTER}
  15.     lpr -${PRINTER} -n paper.${PRINTER}
  16.  
  17. paper.${PRINTER}: ${SRCS}
  18.     ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
  19.  
  20. clean:
  21.     rm -f paper.[PT]* *.spell errs Errs make.out
  22.  
  23. spell:    ${SRCS}
  24.     @for i in ${SRCS}; do \
  25.         echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
  26.     done
  27.  
  28. # index for versatec is different from the one in edit.tut
  29. # because the fonts are different and entries reference page
  30. # rather than section numbers.  if you have a typesetter
  31. # you should just use the index in edit.tut, and ignore editvindex.
  32.  
  33. editvindex:
  34.     ${TROFF} ${MACROS} -n22 edit.vindex
  35.