Makefile @ e7bc59b9ebda

Switch to Hugo
author Steve Losh <steve@stevelosh.com>
date Fri, 07 Oct 2016 12:48:36 +0000
parents 2d9281a1f7e7
children 954bb5f0facd
.PHONY: clean generate serve deploy

less := $(shell ffind --literal '.less')
style := $(subst .less,.css,$(less))

static/media/css/%.css: static/media/css/%.less
	lessc $< > $@

generate:
	hugo -t stevelosh

clean:
	rm -rf public

serve:
	hugo server -t stevelosh

deploy: public
	# rsync -avz ./deploy/ sl:/var/www/stevelosh.com