diff options
author | Darren Bane <dbane@tilde.institute> | 2020-07-30 23:01:26 +0100 |
---|---|---|
committer | Darren Bane <dbane@tilde.institute> | 2020-07-30 23:01:26 +0100 |
commit | 628c87c1a75e48c34888031f2aca3695b5a704cf (patch) | |
tree | 52d0841ee0bd19c2dbe46871d4108379bef29465 /doc/Makefile | |
parent | bd88ae0b1da3e48032a251ce779f347329a52ed7 (diff) | |
download | lsp-628c87c1a75e48c34888031f2aca3695b5a704cf.tar.gz |
Maybe CL is better after all
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile index 2a8f5cc..adae890 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -2,7 +2,7 @@ .DELETE_ON_ERROR: .PHONY: all -all: breaking_rules.pdf breaking_rules.html +all: breaking_rules.pdf breaking_rules.html breaking_rules.txt # Stick with gfm for as long as possible. # Use stuff beyond that only where absolutely necessary. @@ -15,9 +15,12 @@ breaking_rules.pdf: macros.ms breaking_rules.md refs.i breaking_rules.html: macros.ms breaking_rules.md refs.i ( cat macros.ms; lowdown -sTms breaking_rules.md ) | groff -Txhtml -i -t -R -ms -k -Kutf8 > $@ +breaking_rules.txt: macros.ms breaking_rules.md refs.i + ( cat macros.ms; lowdown -sTms breaking_rules.md ) | env GROFF_NO_SGR=t groff -Tlatin1 -i -t -R -ms -k -Kutf8 -c | ul > $@ + refs.i: refs indxbib $^ .PHONY: clean clean: - $(RM) breaking_rules.pdf breaking_rules.html + $(RM) breaking_rules.pdf breaking_rules.html breaking_rules.txt |