Add timing entry
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 10 Oct 2016 14:51:28 +0000 |
parents |
fdf01e99fd51 |
children |
b65cd309d469 |
.PHONY: clean generate serve deploy
files := $(shell hg files)
less := $(shell ffind --literal '.less')
style := $(subst .less,.css,$(less))
static/media/css/%.css: static/media/css/%.less
lessc $< > $@
public/index.html: $(files) $(style)
hugo -t stevelosh
generate: public/index.html
clean:
rm -rf public
serve:
hugo server -t stevelosh -D
deploy: public/index.html
rsync -avz ./public/ sl:/var/www/stevelosh.com