aboutsummaryrefslogtreecommitdiff
path: root/xP/Makefile
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-22 18:57:14 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-22 20:18:55 +0200
commite6bf88673f31e62050333f98d6bcd407ac34c13d (patch)
tree87be39858a8356fb9bd919839224ba70e111f151 /xP/Makefile
parent4a2740313c7cfe6bd334ce46d1deb7ccca9d2068 (diff)
downloadxK-e6bf88673f31e62050333f98d6bcd407ac34c13d.tar.gz
xK-e6bf88673f31e62050333f98d6bcd407ac34c13d.tar.xz
xK-e6bf88673f31e62050333f98d6bcd407ac34c13d.zip
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.
Diffstat (limited to 'xP/Makefile')
-rw-r--r--xP/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/xP/Makefile b/xP/Makefile
index eb0c8f5..34de55a 100644
--- a/xP/Makefile
+++ b/xP/Makefile
@@ -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: