Commit 1b2fb7a6 by Őry Máté

cloud: fix Makefile not generating less

Not really know what am I doing, but works now.
parent 52a1f5b1
...@@ -3,7 +3,6 @@ SHELL := /bin/bash ...@@ -3,7 +3,6 @@ SHELL := /bin/bash
jsfiles += one/static/script/cloud.min.js jsfiles += one/static/script/cloud.min.js
jsfiles += one/static/script/util.min.js jsfiles += one/static/script/util.min.js
jsfiles += one/static/script/store.min.js jsfiles += one/static/script/store.min.js
cssfiles += one/static/style/style.css
default: migrate generatestatic collectstatic mo restart default: migrate generatestatic collectstatic mo restart
...@@ -18,7 +17,7 @@ po: ...@@ -18,7 +17,7 @@ po:
migrate: migrate:
./manage.py migrate ./manage.py migrate
generatestatic: $(jsfiles) $(cssfiles) generatestatic: $(jsfiles) one/static/style/style.css
collectstatic: collectstatic:
./manage.py collectstatic --noinput ./manage.py collectstatic --noinput
...@@ -33,5 +32,7 @@ restart: ...@@ -33,5 +32,7 @@ restart:
%.min.js: %.js %.min.js: %.js
uglifyjs $< > $@ uglifyjs $< > $@
%.css: %.less one/static/style/style.css:
lessc one/static/style/style.less > one/static/style/style.css lessc one/static/style/style.less > one/static/style/style.css
.PHONY: default pulldef pull po migrate generatestatic collectstatic mo restart one/static/style/style.css
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 sign in to comment