diff options
author | Darren Bane <dbane@tilde.institute> | 2020-05-20 23:10:28 +0100 |
---|---|---|
committer | Darren Bane <dbane@tilde.institute> | 2020-05-20 23:10:28 +0100 |
commit | 01c8c655f67f820bc8028d369c5061c997921e72 (patch) | |
tree | 2b42b5838aa05ecbf2223abec31ba6a4d977dd70 /doc/Makefile | |
parent | 020601c63c8878f82a06d597ae80de94295ef73d (diff) | |
download | lsp-01c8c655f67f820bc8028d369c5061c997921e72.tar.gz |
Blog post generator
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 |