docmachine-containers/.marp/Makefile

14 lines
193 B
Makefile

all: build
build: theme.css
%.css: %.scss
cd .. \
&& npx sass --no-error-css --no-source-map .marp/$<:.marp/$@ \
|| ( rm -f .marp/$@ && exit 1 )
.PHONY: build
clean:
rm -f theme.css