]> git.ipfire.org Git - pbs.git/commitdiff
configure: Migrate to Node SASS
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 12 Feb 2025 11:43:35 +0000 (11:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 12 Feb 2025 11:43:35 +0000 (11:43 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
configure.ac

index 6794c73f5d58231fc401e8fddcf674d19f584e0e..b4762cba266bd64d5c78b875e7890672fbcf07a9 100644 (file)
@@ -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 $@) && \
index 0171bdab54b3c0068cfc5b65db1898294f540ef0..bf1efa3ac8cadb32546f0c726d728029cffc2628 100644 (file)
@@ -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