Browse Source

Makefile: add deploy target and cleanp

blog
Nathan Bergey 7 years ago
parent
commit
4e9c5b8894
  1. 14
      Makefile

14
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
Loading…
Cancel
Save