about summary refs log tree commit diff stats
path: root/doc/Makefile
diff options
context:
space:
mode:
authorDarren Bane <dbane@tilde.institute>2020-10-22 17:41:48 +0100
committerDarren Bane <dbane@tilde.institute>2020-10-22 17:41:48 +0100
commit7e300b255434529cd4cc26542f67442c577e7c47 (patch)
tree7aa090da35b63f332699cba19acd0ae4c856dad6 /doc/Makefile
parent08296c9356bd265eb2b077dfd3888488ea229b2a (diff)
downloadlsp-7e300b255434529cd4cc26542f67442c577e7c47.tar.gz
Switch to more primitive way to maintain references, for compatibility with Gemini
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index deb3d8e..6a2159f 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 bane.20.cdr15.html
+all: breaking_rules.pdf breaking_rules.html breaking_rules.txt bane.20.cdr15.html lkbib.txt
 
 # Stick with gfm for as long as possible.
 # Use stuff beyond that only where absolutely necessary.
@@ -18,6 +18,12 @@ breaking_rules.pdf: macros.ms breaking_rules.md refs.i
 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 > $@
 
+# None of setting GROFF_NO_SGR, using the "-c" option,
+# or piping through ul worked.
+# GROFF_NO_SGR=1 groff -Tutf8 -R -ms -k -Kutf8 -c macros.ms lkbib.ms | ul > $@
+lkbib.txt: macros.ms lkbib.ms refs.i
+	groff -Tlatin1 -R -ms -k -Kutf8 macros.ms lkbib.ms > $@
+
 refs.i: refs
 	indxbib $^