]> OzVa Git service - fimm-font/commitdiff
built up makefile
authorMax Value <greenwoodw50@gmail.com>
Sat, 22 Nov 2025 15:44:32 +0000 (15:44 +0000)
committerMax Value <greenwoodw50@gmail.com>
Sat, 22 Nov 2025 15:44:32 +0000 (15:44 +0000)
Makefile

index cff2416580a8014aba3a90f103fbe8cb207e43fb..d91f3e7b93af728e9099d0cbbeed859db4dc6fd0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,5 +2,16 @@ all:
        -mkdir target
        fontforge -lang=py -script generate.py fimm.sfd
 
-reinstall:
-       # find -type f -name '*text*' -delete
+remove:
+       find ~/.fonts -type f -name '*Fimm*' -delete
+       find ~/.local/share/fonts/ -type f -name '*Fimm*' -delete
+       sudo find /usr/share/fonts -type f -name '*Fimm*' -delete
+       sudo find /usr/local/share/fonts -type f -name '*Fimm*' -delete
+
+reinstall: all remove
+       cp target/* ~/.fonts/
+       cp target/* ~/.local/share/fonts/
+       sudo cp target/* /usr/share/fonts/
+       sudo cp target/* /usr/local/share/fonts/
+
+       fc-cache -f -v