chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e1520
)
Add "install-local" rule to Makefile
author
Ben Harris
<bjh21@bjh21.me.uk>
Fri, 22 May 2020 22:05:18 +0000
(23:05 +0100)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Fri, 22 May 2020 22:05:18 +0000
(23:05 +0100)
It installs into $HOME/.fonts, which is useful to me at least.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 9cf97039c0bf9f2e6075af9932d4cec06b0468ee..35938568d8e38e0ca98bc9c29f0f222cdf439fc8 100644
(file)
--- 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)