xP: produce a custom font for IRC formatting

Given that the generated file needs a manual adjustment,
its small size, and the dependencies involved,
it will be checked in to the repository.
This commit is contained in:
2022-09-22 18:57:14 +02:00
parent 4a2740313c
commit e6bf88673f
5 changed files with 102 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
.SUFFIXES:
outputs = xP proto.go public/proto.js public/mithril.js
all: $(outputs)
all: $(outputs) public/ircfmt.woff2
xP: xP.go proto.go
go build -o $@
@@ -10,6 +10,8 @@ proto.go: ../xC-gen-proto.awk ../xC-gen-proto-go.awk ../xC-proto
awk -f ../xC-gen-proto.awk -f ../xC-gen-proto-go.awk ../xC-proto > $@
public/proto.js: ../xC-gen-proto.awk ../xC-gen-proto-js.awk ../xC-proto
awk -f ../xC-gen-proto.awk -f ../xC-gen-proto-js.awk ../xC-proto > $@
public/ircfmt.woff2: gen-ircfmt.awk
awk -v Output=$@ -f gen-ircfmt.awk
public/mithril.js:
curl -Lo $@ https://unpkg.com/mithril/mithril.js
clean: