From 04e68443040c7abad84d66477e98f93bed701760 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 4 Feb 2019 13:09:03 +0100 Subject: Initial import --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a986f6c --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +all: _build/index.html + +_build: + mkdir -p $@ + find app devel doc/ lang system -mindepth 4 -type f | grep '/src/' | parallel 'tools/highlight.py {}' + +_build/packages.rst: | _build + tools/makeindex.py > $@ + +_build/index.html: README.rst _build/packages.rst + rst2html5.py --cloak-email-addresses --math-output=mathjax \ + --syntax-highlight=short --link-stylesheet \ + --stylesheet=../../style.min.css \ + --template=./template.txt \ + --footnote-references=superscript < README.rst > $@ + +.PHONY: clean _build/packages.rst + +clean: + $(RM) -r _build + -- cgit v1.2.3