about summary refs log tree commit diff stats
path: root/doc/Makefile
diff options
context:
space:
mode:
authorDarren Bane <darren.bane@gmail.com>2020-10-24 15:38:56 +0100
committerDarren Bane <darren.bane@gmail.com>2020-10-24 15:38:56 +0100
commitf1dd340e2def134d0641ebbbf92934f69086b643 (patch)
treea1b2dd59be643cb575e3c92f2570ae53b087116e /doc/Makefile
parent86615fa75c41897291829bece277e7a85d9c92c6 (diff)
parent132c7511a42f273320f236710f13cab44d2a7dd5 (diff)
downloadlsp-f1dd340e2def134d0641ebbbf92934f69086b643.tar.gz
Merge branch 'master' of tilde.institute:public_repos/lsp
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/doc/Makefile b/doc/Makefile
index e98da46..4139f63 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -6,21 +6,10 @@
 GEMINI := breaking_rules.gmi bane.20.cdr15.gmi
 
 .PHONY: all
-all: breaking_rules.pdf breaking_rules.html breaking_rules.txt bane.20.cdr15.html lkbib.txt
+all: $(GEMINI) lkbib.txt
 
-# Stick with gfm for as long as possible.
-# Use stuff beyond that only where absolutely necessary.
-# Similar to code, YAGNI.
-
-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
-%.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 > $@
+# Write gfm.
+# Beyond that, YAGNI.
 
 # None of setting GROFF_NO_SGR, using the "-c" option,
 # or piping through ul worked.
@@ -36,7 +25,7 @@ refs.i: refs
 
 .PHONY: clean
 clean:
-	$(RM) breaking_rules.pdf breaking_rules.html breaking_rules.txt bane.20.cdr15.html
+	$(RM) $(GEMINI) lkbib.txt
 
 .PHONY: push
 push: $(GEMINI)