alt.mak 637 B

1234567891011121314151617181920212223242526272829
  1. # $Id$
  2. # Public domain.
  3. # This little Makefile is written by hand. Left in just in case it ends
  4. # up being convenient to use for development instead of the automade version.
  5. SOURCE = ti.twjr
  6. TEXI = ti.texi
  7. AWK = texindex.awk
  8. all: $(AWK) html ti.pdf
  9. $(TEXI): $(SOURCE)
  10. rm -f $@; $(GAWK) ./jrweave $(SOURCE) >$(TEXI) || rm -f $@; chmod a-w $@
  11. $(AWK): $(SOURCE)
  12. rm -f $@; ./jrtangle $(SOURCE) || rm -f $@
  13. ti.pdf: $(TEXI)
  14. texi2dvi --pdf --build-dir=ti.t2p -o ti.pdf $(TEXI)
  15. html: texindex.html
  16. texindex.html: $(TEXI)
  17. makeinfo --no-split --html $(TEXI)
  18. check: $(AWK)
  19. texindex $(ttests)/idxmarkup.cp
  20. cat $(ttests)/idxmarkup.cps