blob: 4139f63bd7091dc2f07e5fed192075500db42dd3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
.POSIX:
.DELETE_ON_ERROR:
# Outputs other than Gemini aren't required
GEMINI := breaking_rules.gmi bane.20.cdr15.gmi
.PHONY: all
all: $(GEMINI) lkbib.txt
# Write gfm.
# Beyond that, YAGNI.
# 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 -Tutf8 -R -ms -k -Kutf8 macros.ms lkbib.ms > $@
%.gmi: %.md
md2gemini -m $^ > $@
refs.i: refs
indxbib $^
.PHONY: clean
clean:
$(RM) $(GEMINI) lkbib.txt
.PHONY: push
push: $(GEMINI)
scp $^ dbane@republic.circumlunar.space:/usr/home/dbane/gemini/lsp_doc
|