Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
%.css: %.scss
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(SASSC) --style compressed $< > $@
+ $(SASS) --style compressed $< > $@
src/static/css/highlight.css: Makefile
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
AC_MSG_ERROR([pygmentize is required])
fi
-# SASSC
-AC_CHECK_PROG(SASSC, [sassc], [sassc])
-if test -z "${SASSC}"; then
- AC_MSG_ERROR([sassc is required])
+# SASS
+AC_CHECK_PROGS(SASS, [sass node-sass])
+if test -z "${SASS}"; then
+ AC_MSG_ERROR([sass is required])
fi
# uglifyjs