Makefile (763B)
1 # Makefile for the klisp manual 2 # some of this is from the elisp manual 3 4 srcs = klisp.texi index.texi \ 5 intro.texi interpreter.texi \ 6 booleans.texi equivalence.texi symbols.texi \ 7 control.texi pairs_lists.texi \ 8 environments.texi combiners.texi \ 9 continuations.texi encapsulations.texi \ 10 promises.texi keyed_vars.texi \ 11 numbers.texi strings.texi \ 12 characters.texi ports.texi \ 13 vectors.texi bytevectors.texi \ 14 errors.texi \ 15 libraries.texi system.texi \ 16 17 18 #TODO add dvi/pdf output 19 #TODO check what happens with xrefs 20 21 .PHONY: all clean 22 23 all: clean info html 24 25 info: $(srcs) 26 makeinfo -o ../klisp.info klisp.texi 27 28 html: $(srcs) 29 makeinfo --html --css-ref=css/style.css -o ../html klisp.texi 30 cp -r -f ./css ../html/ 31 32 clean: 33 rm -r -f ../klisp.info ../html