From acbfd21fab2f548cce5fa126a05cdeacb108f906 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 19 Oct 2020 15:57:32 +0200 Subject: add top level Makefile and clean target to rules/Makefile --- rules/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'rules') diff --git a/rules/Makefile b/rules/Makefile index da130831..f5fa401e 100644 --- a/rules/Makefile +++ b/rules/Makefile @@ -1,6 +1,11 @@ -.PHONY: all +.PHONY: all clean -all: rules.html maps.html +HTML = rules.html maps.html + +all: $(HTML) %.html: %.md Makefile pandoc --toc $*.md -s -o $@ + +clean: + rm $(HTML) -- cgit v1.2.3