summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-02 20:28:25 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-02 20:28:25 -0700
commit006cdd3b5c64d9dd30560bc9024407d2785ec817 (patch)
tree1ca84a1fbae51b4e17abb66d6f0618ad0e6143a7
parentImport migration from Jekyll to Hugo. (diff)
downloadlumberjaph-006cdd3b5c64d9dd30560bc9024407d2785ec817.tar.gz
Add build target to the Makefile.
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fa02b3f..5ec4715 100644
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,12 @@ server: clean
deps:
brew install hugo
-ppublish: deps build
+build: clean
+ hugo
+
+publish: build
gsutil -m rsync -R _site/ gs://b.lumberjaph.net
gsutil -m acl ch -u AllUsers:R -R gs://b.lumberjaph.net/
gsutil -m web set -m index.html -e 404.html gs://b.lumberjaph.net
-.PHONY: clean server deps publish
+.PHONY: build clean server deps publish