From: Ben Harris Date: Fri, 22 May 2020 22:05:18 +0000 (+0100) Subject: Add "install-local" rule to Makefile X-Git-Tag: bedstead-002.002~24 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=d8650d106322aa5ed0f1fb60d881e1704567f68d;p=bedstead.git Add "install-local" rule to Makefile It installs into $HOME/.fonts, which is useful to me at least. --- diff --git a/Makefile b/Makefile index 9cf9703..3593856 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,11 @@ bedstead-complement.pdf: bedstead-complement.ps bedstead.otf Fontmap clean: rm -f bedstead *.sfd *.otf *.bdf *.png *.pdf bedstead-complement.ps +.PHONY: install-user +install-user: $(OTFFILES) + install -d "$${HOME}"/.fonts + install -m 644 $(OTFFILES) "$${HOME}"/.fonts + .PHONY: dist dist: $(DISTFILES)