Commit 0818f4d4 authored by Taddeus Kroes's avatar Taddeus Kroes

Makefile cleanup

parent a108c582
...@@ -14,7 +14,7 @@ STYLES := $(patsubst %,$(WWW_DIR)/css/%.css,$(STYLES)) ...@@ -14,7 +14,7 @@ STYLES := $(patsubst %,$(WWW_DIR)/css/%.css,$(STYLES))
.PHONY: all static min translations clean cleaner .PHONY: all static min translations clean cleaner
all: $(LIB_DIR)/autoload.php $(CACHE_DIR) $(SCRIPTS) $(STYLES) translations all: $(LIB_DIR)/autoload.php static $(CACHE_DIR) translations
# Dependencies # Dependencies
...@@ -36,7 +36,7 @@ $(WWW_DIR)/css/%.css: sass/%.sass ...@@ -36,7 +36,7 @@ $(WWW_DIR)/css/%.css: sass/%.sass
@mkdir -p $(@D) @mkdir -p $(@D)
sass --cache-location $(CACHE_DIR)/sass $< $@ sass --cache-location $(CACHE_DIR)/sass $< $@
min: all min: static
@for f in $(STYLES); do \ @for f in $(STYLES); do \
printf '%-20s : ' $$f 1>&2; \ printf '%-20s : ' $$f 1>&2; \
mincss -v -o $$f $$f; \ mincss -v -o $$f $$f; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment