commit c68b19cd15277788783dc055e8e7354c313361a9 parent d65e00b243d3137784b8373d2e1616324e55f6bd Author: Yuval Langer <yuval.langer@gmail.com> Date: Sun, 4 Feb 2024 13:11:56 +0200 Add split html target. Diffstat:
M | doc/r7rs-small/Makefile | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/r7rs-small/Makefile b/doc/r7rs-small/Makefile @@ -9,7 +9,10 @@ HTML_MATH = mathjax MAKEINFOFLAGS = --no-split\ --set-customization-variable HTML_MATH=$(HTML_MATH) -all: r7rs-small.html r7rs-small.info r7rs-small.pdf +MAKEINFO_SPLIT_HTML_FLAGS = --output=r7rs-small-split-html\ + --set-customization-variable HTML_MATH=$(HTML_MATH) + +all: r7rs-small.html r7rs-small.info r7rs-small.pdf r7rs-small-split-html r7rs-small.html: r7rs-small.texinfo $(MAKEINFO) $(MAKEINFOFLAGS) --html $< @@ -20,6 +23,10 @@ r7rs-small.info: r7rs-small.texinfo r7rs-small.pdf: r7rs-small.texinfo $(MAKEINFO) $(MAKEINFOFLAGS) --pdf $< +# Make confuses underscores with dots, so target cannot be the default r7rs-small_html. +r7rs-small-split-html: r7rs-small.texinfo + $(MAKEINFO) $(MAKEINFO_SPLIT_HTML_FLAGS) --html $< + clean: rm -f r7rs-small.aux r7rs-small.fn r7rs-small.fns\ r7rs-small.html r7rs-small.log r7rs-small.toc\