Makefile (1030B)
1 .PHONY: all clean 2 3 MAKEINFO = makeinfo 4 5 # How math should be rendered in HTML output. See "Inserting Math" 6 # in the Texinfo manual for the available methods. 7 HTML_MATH = mathjax 8 9 MAKEINFOFLAGS = --no-split\ 10 --set-customization-variable HTML_MATH=$(HTML_MATH) 11 12 MAKEINFO_SPLIT_HTML_FLAGS = --output=r7rs-small-split-html\ 13 --set-customization-variable HTML_MATH=$(HTML_MATH) 14 15 all: r7rs-small.html r7rs-small.info r7rs-small.pdf r7rs-small-split-html 16 17 r7rs-small.html: r7rs-small.texinfo 18 $(MAKEINFO) $(MAKEINFOFLAGS) --html $< 19 20 r7rs-small.info: r7rs-small.texinfo 21 $(MAKEINFO) $(MAKEINFOFLAGS) --info $< 22 23 r7rs-small.pdf: r7rs-small.texinfo 24 $(MAKEINFO) $(MAKEINFOFLAGS) --pdf $< 25 26 # Make confuses underscores with dots, so target cannot be the default r7rs-small_html. 27 r7rs-small-split-html: r7rs-small.texinfo 28 $(MAKEINFO) $(MAKEINFO_SPLIT_HTML_FLAGS) --html $< 29 30 clean: 31 rm -f r7rs-small.aux r7rs-small.fn r7rs-small.fns\ 32 r7rs-small.html r7rs-small.log r7rs-small.toc\ 33 r7rs-small.pdf r7rs-small.info