home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-07-30 | 1.3 KB | 38 lines |
- XCOMM $XConsortium: Imakefile,v 1.6 91/07/30 11:31:39 gildea Exp $
- EVERYWHERE=../util/macros.t strings.mit strings.xaw
- CHAPTER1=CH1
- CHAPTER2=CH2
- CHAPTER3=CH3.intro Command Grip Label List Panner Repeater \
- Scrollbar Simple StripChart Toggle
- CHAPTER4=CH4.intro SimpleMenu SmeBSB SmeLine Sme MenuButton
- CHAPTER5=CH5.intro TextActions TextFuncs AsciiText AsciiSource AsciiSink \
- TextCustom Text TextSource TextSink
- CHAPTER6=CH6.intro Box Dialog Form Paned Porthole Tree Viewport
- CHAPTER7=CH7.intro Template
-
- SRCS = \
- $(EVERYWHERE) TPage_Credits \
- $(CHAPTER1) $(CHAPTER2) $(CHAPTER3) $(CHAPTER4) \
- $(CHAPTER5) $(CHAPTER6) $(CHAPTER7)
-
- ISRCS = widg.idxmac.t ../util/indexmacros.t
-
- all: widgets.PS widg.idx.PS
-
- widgets.PS index.raw: $(SRCS)
- $(TBL) $(SRCS) | $(TROFF) $(MSMACROS) 2> index.raw > widgets.PS
-
- widg.idx.PS: index.raw
- tail -1 index.raw > index.pageno
- grep -v '^.pn ' index.raw | sort -f -t: +1 -3 +0n -1n | awk -f ../util/fixindex.awk | awk -f ../util/block.awk > index.troff
- cat $(ISRCS) index.troff | $(TROFF) -me > widg.idx.PS
- $(RM) index.troff index.pageno
-
- XCOMM Useful for running off part of the manual by hand,
- XCOMM e.g., make part PART=Label
- part:
- $(TBL) $(PART) | $(TROFF) $(MSMACROS) $(EVERYWHERE) -
-
- clean::
- $(RM) index.raw index.troff index.pageno widgets.PS widg.idx.PS
-