diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 30 |
1 files changed, 4 insertions, 26 deletions
@@ -1,27 +1,5 @@ +build: + nix build -all: clean main - -clean: - rm -rf build/* down - -main: - mkdir -p build - python generate.py - -install: main - mkdir -p /usr/share/fonts/neo-comic - cp build/* /usr/share/fonts/neo-comic - -down: download - -download: - mkdir -p down vendor - # wget https://www.ffonts.net/Cousin.font.zip -O down/cousin.zip - wget https://www.fontsquirrel.com/fonts/download/cousine -O down/cousin.zip - unzip -u down/cousin.zip -d down - cp down/*egular.ttf vendor/cousine.ttf - wget https://github.com/shannpersand/comic-shanns/raw/master/v2/comic%20shanns.otf -O vendor/comic-shanns.otf - #wget https://github.com/shannpersand/comic-shanns/raw/master/v1/comic-shanns.otf -O vendor/comic-shanns.otf - rm -rf down - - +install: + install -m444 -Dt "/share/fonts/neo-comic" "build/"*.ttf |