Makefile @ 47ac3522d059

Fix Zsh images
author Steve Losh <steve@stevelosh.com>
date Mon, 10 Oct 2016 11:08:17 +0000
parents 954bb5f0facd
children b6315c102a84
.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: $(style)
	hugo -t stevelosh

clean:
	rm -rf public

serve:
	hugo server -t stevelosh

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