From 4e9c5b8894a7a42f6ad621b3a47ab1c405000fa9 Mon Sep 17 00:00:00 2001 From: Nathan Bergey Date: Thu, 28 Jun 2018 19:14:10 -0400 Subject: [PATCH] Makefile: add deploy target and cleanp --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 40a8455..62c0b38 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,7 @@ -all: favicon.ico - JEKYLL_ENV=production jekyll build +all: _site -dev: - jekyll build +_site: index.markdown assets/style.sass favicon.ico + JEKYLL_ENV=production jekyll build favicon.ico: favicon.svg rsvg-convert -w 16 -h 16 --background-color=none favicon.svg -o favicon-16.png @@ -10,3 +9,10 @@ favicon.ico: favicon.svg rsvg-convert -w 64 -h 64 --background-color=none favicon.svg -o favicon-64.png convert favicon-16.png favicon-32.png favicon-64.png favicon.ico rm favicon*.png + +clean: + rm -rf _site + +deploy: all + scp -r _site/* natronics.org:/var/www +