Makefile fixes.

This commit is contained in:
Jeremy Wall 2020-04-19 13:26:11 -04:00
parent 6d588c02ac
commit 77a02a9915
2 changed files with 3 additions and 2 deletions

View File

@ -1,12 +1,13 @@
content := $(wildcard content/*.md themes/even/sass/*.scss themes/even/static/* themes/even/templates/*.html themes/even/templates/categories/*.html themes/even/templates/shortcodes/*.html themes/even/templates/tags/*.html)
build: content/.built build: content/.built
all: build deploy all: build deploy
content/.built: content/.built: $(content)
zola build -o public/ zola build -o public/
touch content/.built touch content/.built
deploy: build publish: build
cd public cd public
gsutil -m rsync -d -r public gs://jeremy.marzhillstudios.com/ gsutil -m rsync -d -r public gs://jeremy.marzhillstudios.com/