diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-04-14 10:38:36 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-04-14 10:53:42 -0600 |
commit | 3c46bd7b2f61fec1f5719d73d88c3553a6862d52 (patch) | |
tree | 3d8a683a72d4d12a70030c690c86e6fc18f1f589 /Makefile | |
parent | 1dcf19f75016cd4dcf07897a618b17050dca52fa (diff) |
wip
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 39 |
1 files changed, 37 insertions, 2 deletions
@@ -1,4 +1,39 @@ -public/imworkingon.html: FORCE - go run ./cmd/generate +build/files = public/imworkingon/index.html +build/files += public/imworkingon/imworkingon.css + +generate/files = public/sponsor/liberapay-icon.svg +generate/files += public/sponsor/kofi-icon.png +generate/files += public/sponsor/patreon-icon.svg + +################################################################################ + +all: build +.PHONY: all .PHONY: FORCE +.DELETE_ON_ERROR: +.NOTINTERMEDIATE: + +build: generate $(build/files) +clean: + rm -f -- $(build/files) +.PHONY: build clean + +generate: $(generate/files) +generate-clean: + rm -f -- $(generate/files) +.PHONY: generate generate-clean + +################################################################################ + +public/imworkingon/index.html: FORCE + go run ./cmd/generate +public/imworkingon/imworkingon.css: public/imworkingon/imworkingon.scss + scss $< $@ + +public/sponsor/liberapay-icon.svg: + curl -L https://liberapay.com/assets/liberapay/icon-v2_black.svg >$@ +public/sponsor/kofi-icon.png: + curl -L https://storage.ko-fi.com/cdn/cup-border.png >$@ +public/sponsor/patreon-icon.svg: + curl -L https://theme.zdassets.com/theme_assets/421814/642051a1900f62924e9512621d2f1838988e9245.svg >$@ |