blob: e6a0747c706bbbfde90a09fd62ef4cea4f4df24c (
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
|
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
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 >$@
|