about summary refs log tree commit diff stats
path: root/doc/Makefile
diff options
context:
space:
mode:
authorDarren Bane <dbane@tilde.institute>2020-05-20 23:55:03 +0100
committerDarren Bane <dbane@tilde.institute>2020-05-20 23:55:03 +0100
commit4d40956bf90f368bbb6c864148d9a9c4842199b6 (patch)
tree06c598074ddce463b8e3466a797ea1537f976b21 /doc/Makefile
parent272f12aefef8337682c2b7bc6ed8f1b13dd9b399 (diff)
parent07a11fbd4b69a02534ab0bd0f907fbc9f6ea5995 (diff)
downloadlsp-4d40956bf90f368bbb6c864148d9a9c4842199b6.tar.gz
Merge branch 'master' of /home/dbane/public_repos/lsp
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 4065f5a..8e0f283 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -8,11 +8,12 @@ all: breaking_rules.pdf breaking_rules.html
 # Use stuff beyond that only where absolutely necessary.
 # Similar to code, YAGNI.
 
-breaking_rules.pdf: breaking_rules.md refs.i
-	lowdown -sTms breaking_rules.md | pdfroff -i -t -R -mspdf -k -Kutf8 > $@
+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 > $@
 
-breaking_rules.html: breaking_rules.md refs.i
-	lowdown -sTms breaking_rules.md | groff -Thtml -i -t -R -ms -k -Kutf8 > $@
+# Headers aren't emitted currently
+breaking_rules.html: macros.ms breaking_rules.md refs.i
+	( cat macros.ms; lowdown -sTms breaking_rules.md ) | groff -Thtml -i -t -R -ms -k -Kutf8 > $@
 
 refs.i: refs
 	indxbib $^