Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
%.css: %.sass Makefile
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(SASSC) --style compressed $< > $@
+ $(SASS) --style compressed $< > $@
src/sass/main.css: $(SASS_FILES) Makefile
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(SASSC) --style compressed $< > $@
+ $(SASS) --style compressed $< > $@
src/static/favicon.ico: src/static/img/ipfire-tux.png Makefile
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
AX_PYTHON_MODULE([zxcvbn], [fatal])
# sass
-AC_CHECK_PROG(SASSC, [sassc], [sassc])
-if test -z "${SASSC}"; then
- AC_MSG_ERROR([sassc is required])
+AC_CHECK_PROGS(SASS, [sass node-sass])
+if test -z "${SASS}"; then
+ AC_MSG_ERROR([sass is required])
fi
# convert from ImageMagick