From: Michael Tremer Date: Wed, 12 Feb 2025 11:43:35 +0000 (+0000) Subject: configure: Migrate to Node SASS X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16f425c7f3cae887cc292a53d2b793d109eab2ed;p=pbs.git configure: Migrate to Node SASS Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 6794c73f..b4762cba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -442,7 +442,7 @@ UGLIFYJS_PROCESS = \ %.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 $@) && \ diff --git a/configure.ac b/configure.ac index 0171bdab..bf1efa3a 100644 --- a/configure.ac +++ b/configure.ac @@ -63,10 +63,10 @@ if test -z "${PYGMENTIZE}"; then 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