-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (31 loc) · 1.08 KB
/
Makefile
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
33
34
.PHONY: build
build:
@mkdir -p build
@fontforge -script victor_code_pro.ff \
source-code-pro/OTF/SourceCodePro-Black.otf \
source-code-pro/OTF/SourceCodePro-BlackIt.otf \
source-code-pro/OTF/SourceCodePro-Bold.otf \
./victor-mono/dist/woff2/VictorMono-BoldItalic.woff2 \
source-code-pro/OTF/SourceCodePro-ExtraLight.otf \
source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf \
source-code-pro/OTF/SourceCodePro-Light.otf \
source-code-pro/OTF/SourceCodePro-LightIt.otf \
source-code-pro/OTF/SourceCodePro-Medium.otf \
source-code-pro/OTF/SourceCodePro-MediumIt.otf \
source-code-pro/OTF/SourceCodePro-Regular.otf \
victor-mono/dist/woff2/VictorMono-Italic.woff2 \
source-code-pro/OTF/SourceCodePro-Semibold.otf \
source-code-pro/OTF/SourceCodePro-SemiboldIt.otf
.PHONY: install
install: build
@mkdir -p /usr/local/share/fonts/
@rm -rf /usr/local/share/fonts/VictorCodePro
@mv build /usr/local/share/fonts/VictorCodePro
@sudo fc-cache -f
.PHONY: clean
clean:
@rm -rf build
.PHONY: uninstall
uninstall:
@rm -rf /usr/local/share/fonts/VictorCodePro
@sudo fc-cache -f