home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / doc / Xaw / Imakefile < prev    next >
Encoding:
Makefile  |  1991-07-30  |  1.3 KB  |  38 lines

  1. XCOMM $XConsortium: Imakefile,v 1.6 91/07/30 11:31:39 gildea Exp $
  2. EVERYWHERE=../util/macros.t strings.mit strings.xaw
  3. CHAPTER1=CH1
  4. CHAPTER2=CH2
  5. CHAPTER3=CH3.intro Command Grip Label List Panner Repeater \
  6.      Scrollbar Simple StripChart Toggle
  7. CHAPTER4=CH4.intro SimpleMenu SmeBSB SmeLine Sme MenuButton
  8. CHAPTER5=CH5.intro TextActions TextFuncs AsciiText AsciiSource AsciiSink \
  9.      TextCustom Text TextSource TextSink
  10. CHAPTER6=CH6.intro Box Dialog Form Paned Porthole Tree Viewport
  11. CHAPTER7=CH7.intro Template
  12.  
  13. SRCS = \
  14.     $(EVERYWHERE) TPage_Credits \
  15.     $(CHAPTER1) $(CHAPTER2) $(CHAPTER3) $(CHAPTER4) \
  16.     $(CHAPTER5) $(CHAPTER6) $(CHAPTER7) 
  17.  
  18. ISRCS = widg.idxmac.t ../util/indexmacros.t
  19.  
  20. all: widgets.PS widg.idx.PS
  21.  
  22. widgets.PS index.raw: $(SRCS)
  23.     $(TBL) $(SRCS) | $(TROFF) $(MSMACROS) 2> index.raw > widgets.PS
  24.  
  25. widg.idx.PS: index.raw
  26.     tail -1 index.raw > index.pageno
  27.     grep -v '^.pn ' index.raw | sort -f -t: +1 -3 +0n -1n | awk -f ../util/fixindex.awk | awk -f ../util/block.awk > index.troff
  28.     cat $(ISRCS) index.troff | $(TROFF) -me  > widg.idx.PS
  29.     $(RM) index.troff index.pageno
  30.  
  31. XCOMM Useful for running off part of the manual by hand,
  32. XCOMM e.g., make part PART=Label
  33. part:
  34.     $(TBL) $(PART) | $(TROFF) $(MSMACROS) $(EVERYWHERE) -
  35.  
  36. clean::
  37.     $(RM) index.raw index.troff index.pageno widgets.PS widg.idx.PS
  38.