Front website
https://natronics.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
524 B
18 lines
524 B
all: _site
|
|
|
|
_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
|
|
rsvg-convert -w 32 -h 32 --background-color=none favicon.svg -o favicon-32.png
|
|
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
|
|
|