diff options
author | Darren Bane <darren.bane@emdalo.com> | 2020-08-04 12:30:56 +0100 |
---|---|---|
committer | Darren Bane <darren.bane@emdalo.com> | 2020-08-04 12:30:56 +0100 |
commit | 1167e1207e3c0928f04aa3ed51fc315fb5b8729a (patch) | |
tree | aa7d0bb009a5495f4ba524cfcbd4e36704c0d9eb /doc/Makefile | |
parent | 546c54613a397996e3faa04173bfa73a08a6ee47 (diff) | |
download | lsp-1167e1207e3c0928f04aa3ed51fc315fb5b8729a.tar.gz |
Flip-flop back to CL.
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile index adae890..deb3d8e 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -2,7 +2,7 @@ .DELETE_ON_ERROR: .PHONY: all -all: breaking_rules.pdf breaking_rules.html breaking_rules.txt +all: breaking_rules.pdf breaking_rules.html breaking_rules.txt bane.20.cdr15.html # Stick with gfm for as long as possible. # Use stuff beyond that only where absolutely necessary. @@ -12,8 +12,8 @@ breaking_rules.pdf: macros.ms breaking_rules.md refs.i ( cat macros.ms; lowdown -sTms breaking_rules.md ) | pdfroff -i -t -R -mspdf -k -Kutf8 > $@ # On macOS only, headers aren't emitted currently -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 > $@ +%.html: macros.ms %.md refs.i + ( cat macros.ms; lowdown -sTms $(filter %.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 > $@ @@ -23,4 +23,4 @@ refs.i: refs .PHONY: clean clean: - $(RM) breaking_rules.pdf breaking_rules.html breaking_rules.txt + $(RM) breaking_rules.pdf breaking_rules.html breaking_rules.txt bane.20.cdr15.html |