From cebb86c5f3689c222197f9cf43f26e62d1160c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Sat, 16 Jan 2021 15:12:08 +0100 Subject: [PATCH] Always build all CSS files if a single SCSS file changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don’t have proper dependency tracking for those in Make, and I don’t care to invest a lot into getting this right, given that the build for all of them finishes in <1s. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5e5cce3..c23d83d 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ all: build_css compile_translations build_css: $(generated_css_files) -$(generated_css_files): snikket_web/static/css/%.css: snikket_web/scss/%.scss $(scss_includes) +$(generated_css_files): snikket_web/static/css/%.css: snikket_web/scss/%.scss $(scss_files) $(scss_includes) mkdir -p snikket_web/static/css/ $(SCSSC) -o "$@" "$<"