tobast.fr-hugo/scss/Makefile

11 lines
188 B
Makefile
Raw Normal View History

2019-10-08 20:53:12 +02:00
STYLES=style.scss
IMPORTS=$(shell ls -1 _*.scss)
OUTDIR=../static/css
SASS=sassc
all: $(addprefix $(OUTDIR)/,$(STYLES:.scss=.css))
$(OUTDIR)/%.css: %.scss $(IMPORTS)
$(SASS) "$<" "$@"