about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 17b7b7c..8e0f283 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -8,13 +8,16 @@ all: breaking_rules.pdf breaking_rules.html
 # Use stuff beyond that only where absolutely necessary.
 # Similar to code, YAGNI.
 
-breaking_rules.pdf: macros.ms breaking_rules.md refs
+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 > $@
 
 # Headers aren't emitted currently
-breaking_rules.html: macros.ms breaking_rules.md refs
+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 $^
+
 .PHONY: clean
 clean:
 	$(RM) breaking_rules.pdf