home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 07_mail / makefile < prev   
Encoding:
Makefile  |  1986-05-23  |  724 b   |  29 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. SRCS=    mail0.nr mail1.nr mail2.nr mail3.nr mail4.nr mail5.nr mail6.nr \
  9.     mail7.nr mail8.nr mail9.nr maila.nr
  10.  
  11. MACROS=    -me
  12. PRINTER=Pdp
  13. TBL=    dtbl -${PRINTER}
  14. TROFF=    ditroff -${PRINTER}
  15.  
  16. paper:    paper.${PRINTER}
  17.     lpr -${PRINTER} -n paper.${PRINTER}
  18.  
  19. paper.${PRINTER}: ${SRCS}
  20.     ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
  21.  
  22. clean:
  23.     rm -f paper.[PT]* *.spell errs Errs make.out
  24.  
  25. spell:    ${SRCS}
  26.     @for i in ${SRCS}; do \
  27.         echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
  28.     done
  29.