From d83630a9ef8c0b313254e58eff8cc4b2331ee29d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 18 Mar 2019 21:58:02 +0100 Subject: Add texinfo generation from source. --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c4e6aaa --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +.PHONY: all doc install install-doc clean + +INFODIR = /usr/local/share/info + +all: doc + +doc: monad.info + +%.info: %.texi + makeinfo $< + +monad.texi: monad.scm + ./gendoc.scm + +install: install-doc + +install-doc: monad.info + cp $< $(INFODIR) + install-info --info-dir=$(INFODIR) --info-file=$< + +clean: + -rm *.texi + -rm *.info -- cgit v1.2.3