home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / doc / Protocol / Imakefile < prev    next >
Encoding:
Makefile  |  1991-07-17  |  639 b   |  19 lines

  1. XCOMM $XConsortium: Imakefile,v 1.2 91/07/17 16:01:33 gildea Exp $
  2. SRCS = ../util/macros.t X11.protocol X11.keysyms X11.encoding glossary postproc
  3. ISRCS = indexmacros.t ../util/indexmacros.t
  4.  
  5. all: proto.PS proto.idx.PS
  6.  
  7. proto.PS:
  8.     $(TBL) $(SRCS) | $(EQN) | $(TROFF) $(MSMACROS) 2> index.raw > proto.PS
  9.  
  10. proto.idx.PS:
  11.     tail -1 index.raw > index.pageno
  12.     grep -v '^.pn ' index.raw | sort -f -t: +1 -3 +0n -1n | awk -f ../util/fixindex.awk | awk -f ../util/block.awk > index.troff
  13.     cat $(ISRCS) index.troff | $(TROFF) -me > proto.idx.PS
  14.     $(RM) index.troff index.pageno
  15.  
  16. clean::
  17.     $(RM) index.raw index.troff index.pageno proto.PS proto.idx.PS
  18.  
  19.