blob: bd4534eac4a55ac536b483d855672109c13182bf (
plain)
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
35
36
37
38
39
40
41
42
43
|
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
generate/files += public/sponsor/github-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
TZ=America/Denver go run ./cmd/generate
.PRECIOUS: public/imworkingon/index.html
public/imworkingon/imworkingon.css: public/imworkingon/imworkingon.scss
sass $< $@
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 >$@
public/sponsor/github-icon.svg:
curl -L https://github.githubassets.com/favicons/favicon.svg >$@
|