home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / se / part7 / se_h / Makefile < prev    next >
Encoding:
Makefile  |  1986-11-30  |  936 b   |  37 lines

  1. # makefile for se help scripts
  2.  
  3. DOCS= README
  4.  
  5. FILES= a abt ah arg2 args b bang bug c cc ccmisc chardel charins colon \
  6.     com com_swt comdir comdir_swt comsyn d dir e eh elp equal f g h i \
  7.     j k l list ln ln_swt m m_swt motion n o o- oa oc od of og oh oi ok ol \
  8.     olm om op os ot ou ov ow ox oy oz p pat pat_swt patex patex_swt q \
  9.     quote r rpt s s_swt scan scan_swt serc shell shell_swt specl t t_swt \
  10.     termchar tilde u v w x y y_swt z
  11.  
  12. # destination for final    version    of help    scripts.
  13. INSTALL=/usr/local/lib/se_h
  14.  
  15. install: existsall detab
  16.     Install $(INSTALL) $(FILES)
  17.  
  18. existsall: $(FILES) $(DOCS) Install
  19.     @echo this message indicates all the files exist, otherwise make would die.
  20.  
  21. detab: detab.c
  22.     cc -O -o detab detab.c
  23.  
  24. clean:
  25.     rm -f detab print2
  26.  
  27. clobber: clean
  28.  
  29.  
  30. print:
  31.     prt $(DOCS) Makefile Install $(FILES) | lpr -b 'se help'
  32.     touch print2
  33.  
  34. print2:    $(DOCS)    Makefile Install $(FILES)
  35.     prt $? | lpr -b    'new se    help'
  36.     touch print2
  37.