diff options
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..fa8d38d --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,19 @@ +.POSIX: +.DELETE_ON_ERROR: + +.PHONY: all +all: breaking_rules.pdf breaking_rules.html + +# Stick with gfm for as long as possible. +# Use stuff beyond that only where absolutely necessary. +# Similar to code, YAGNI. + +breaking_rules.pdf: breaking_rules.md refs + lowdown -sTms breaking_rules.md | pdfroff -i -t -R -mspdf -k -Kutf8 > $@ + +breaking_rules.html: breaking_rules.md refs + lowdown -sTms breaking_rules.md | groff -Thtml -i -t -R -ms -k -Kutf8 > $@ + +.PHONY: clean +clean: + $(RM) breaking_rules.pdf |