summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bd4534e..30107bb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
+# build = not checked in to Git
build/files = public/imworkingon/index.html
build/files += public/imworkingon/imworkingon.css
+build/files += public/posix/index.html
+# generate = checked in to Git
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
-################################################################################
+# boilerplate ##################################################################
all: build
.PHONY: all
@@ -25,14 +28,20 @@ generate-clean:
rm -f -- $(generate/files)
.PHONY: generate generate-clean
-################################################################################
+# build = not checked in to Git ################################################
public/imworkingon/index.html: FORCE
- TZ=America/Denver go run ./cmd/generate
+ TZ=America/Denver go run ./cmd/gen-imworkingon
.PRECIOUS: public/imworkingon/index.html
public/imworkingon/imworkingon.css: public/imworkingon/imworkingon.scss
sass $< $@
+public/posix/index.html: FORCE
+ mkdir -p $(@D)
+ go run ./cmd/gen-posix
+
+# generate = checked in to Git #################################################
+
public/sponsor/liberapay-icon.svg:
curl -L https://liberapay.com/assets/liberapay/icon-v2_black.svg >$@
public/sponsor/kofi-icon.png: