Skip to content

Commit

Permalink
Fix $(LESSC) build rule and the targets that _should_ depend on it
Browse files Browse the repository at this point in the history
  • Loading branch information
kabel committed Apr 18, 2014
1 parent e9ddb8b commit d6e6c23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ all: less js

less: $(CSS_OBJS)

$(shell $(LESSC) -M $(TEMPLATE_LESS)/$(LESS_ALL) $(TEMPLATE_CSS)/$(LESS_ALL_OUT))
$(shell $(LESSC) -M $(TEMPLATE_LESS)/$(LESS_ALL) $(TEMPLATE_CSS)/$(LESS_ALL_OUT)) $(LESSC)

$(shell $(LESSC) -M $(TEMPLATE_LESS)/$(LESS_ALL) $(TEMPLATE_CSS)/$(LESS_ALL_OUT_IE))
$(shell $(LESSC) -M $(TEMPLATE_LESS)/$(LESS_ALL) $(TEMPLATE_CSS)/$(LESS_ALL_OUT_IE)) $(LESSC)
$(LESSC) $(TEMPLATE_LESS)/$(LESS_ALL) | $(MQ_STRIP) | $(LESSC) $(LESSC_FLAGS) - > $@

$(TEMPLATE_CSS)/%.css: $(TEMPLATE_LESS)/%.less $(LESS_MIXINS_DEPS) $(LESSC)
Expand All @@ -92,7 +92,7 @@ $(TEMPLATE_JS)/plugins/qtip/wdn.qtip.min.css: $(TEMPLATE_JS)/plugins/qtip/wdn.qt
$(LESSC) $(LESSC_FLAGS) $< $@

$(LESSC):
npm --prefix $(BUILD_DIR) install lessc
npm --prefix $(BUILD_DIR) install less

js: $(JS_ALL_OUT)

Expand Down

0 comments on commit d6e6c23

Please sign in to comment.