diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-11-06 11:11:23 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-11-06 11:11:23 +0100 |
commit | aa589c40415359860b3dc94e751adb77ab5639ed (patch) | |
tree | 3b4dc0944a592f41f99916b8b6edf09eee08bbf2 | |
parent | Add view calendar button on search page. (diff) | |
download | calp-aa589c40415359860b3dc94e751adb77ab5639ed.tar.gz calp-aa589c40415359860b3dc94e751adb77ab5639ed.tar.xz |
Add watch-rule for scss files.
Diffstat (limited to '')
-rw-r--r-- | static/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/static/Makefile b/static/Makefile index 12df8c2a..821489bc 100644 --- a/static/Makefile +++ b/static/Makefile @@ -1,11 +1,15 @@ -.PHONY: all clean +.PHONY: all clean watch TARGETS := style.css smallcal.css +WATCH= all: $(TARGETS) +watch: + $(MAKE) WATCH=--watch all + clean: rm $(TARGETS) %.css: %.scss - scss -I. $< $@ + scss $(WATCH) -I. $< $@ |