diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-07-01 18:28:36 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-07-01 18:28:36 +0200 |
commit | fa246b6d9f2ab1311881299c4b050f53bbdb7d32 (patch) | |
tree | 9e803aae47c7d6ea69293b327851f10262dc6376 | |
parent | Ensure absolute path in glob output. (diff) | |
download | muppet-strings-fa246b6d9f2ab1311881299c4b050f53bbdb7d32.tar.gz muppet-strings-fa246b6d9f2ab1311881299c4b050f53bbdb7d32.tar.xz |
Minor Makefile cleanup.
-rw-r--r-- | static-src/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/static-src/Makefile b/static-src/Makefile index e01aded..5852293 100644 --- a/static-src/Makefile +++ b/static-src/Makefile @@ -4,11 +4,16 @@ SCSS = scss OUT_DIR = out TARGET = style.css +SCSS_INCLUDE = . $(OUT_DIR) +SCSS_FLAGS = --sourcemap=auto \ + $(addprefix -I,$(SCSS_INCLUDE)) + DESTDIR = PREFIX = /usr/local/share/muppet/ # Path relative install root where the static files should end up LOCAL_PATH = static + # Highlighting files highlights = $(wildcard highlight/*.yaml) # Colorscheme files @@ -29,7 +34,7 @@ clean: -rm $(TARGET).map $(TARGET): style.scss $(SCSS_FILES) $(outputs) - $(SCSS) --sourcemap=auto -I. -Iout $< $@ + $(SCSS) $(SCSS_FLAGS) $< $@ $(OUT_DIR)/_highlight_%.scss: highlight/%.yaml $(OUT_DIR) ./build_css.py highlight $< > $@ |