Skip to content
Snippets Groups Projects
Commit fa246b6d authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Minor Makefile cleanup.

parent 9d9a1ce1
No related branches found
No related tags found
No related merge requests found
...@@ -4,11 +4,16 @@ SCSS = scss ...@@ -4,11 +4,16 @@ SCSS = scss
OUT_DIR = out OUT_DIR = out
TARGET = style.css TARGET = style.css
SCSS_INCLUDE = . $(OUT_DIR)
SCSS_FLAGS = --sourcemap=auto \
$(addprefix -I,$(SCSS_INCLUDE))
DESTDIR = DESTDIR =
PREFIX = /usr/local/share/muppet/ PREFIX = /usr/local/share/muppet/
# Path relative install root where the static files should end up # Path relative install root where the static files should end up
LOCAL_PATH = static LOCAL_PATH = static
# Highlighting files # Highlighting files
highlights = $(wildcard highlight/*.yaml) highlights = $(wildcard highlight/*.yaml)
# Colorscheme files # Colorscheme files
...@@ -29,7 +34,7 @@ clean: ...@@ -29,7 +34,7 @@ clean:
-rm $(TARGET).map -rm $(TARGET).map
$(TARGET): style.scss $(SCSS_FILES) $(outputs) $(TARGET): style.scss $(SCSS_FILES) $(outputs)
$(SCSS) --sourcemap=auto -I. -Iout $< $@ $(SCSS) $(SCSS_FLAGS) $< $@
$(OUT_DIR)/_highlight_%.scss: highlight/%.yaml $(OUT_DIR) $(OUT_DIR)/_highlight_%.scss: highlight/%.yaml $(OUT_DIR)
./build_css.py highlight $< > $@ ./build_css.py highlight $< > $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment