]> git.ipfire.org Git - ipfire.org.git/commitdiff
configure: Use Node SASS instead of SASSC
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 24 Mar 2024 10:10:07 +0000 (10:10 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 24 Mar 2024 10:10:07 +0000 (10:10 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
configure.ac

index b434e59b500a7028a96a1ec887aaa424f5741c05..6b4eed9503042819059cecc7a204f3fee831f708 100644 (file)
@@ -1168,11 +1168,11 @@ SED_PROCESS = \
 
 %.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 $@) && \
index 17ef12942811dd93e3b82d0bb49a68c0765dcb50..fc99f7caaf8c5a5df4a28a1f34401b58ea58996d 100644 (file)
@@ -47,9 +47,9 @@ AX_PYTHON_MODULE([tornado], [fatal])
 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