mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2024-12-22 08:43:33 +01:00
fix make dependencies in less
This commit is contained in:
parent
fb3130b12b
commit
fbc0e9c2a7
1 changed files with 8 additions and 2 deletions
10
Makefile
10
Makefile
|
@ -1,7 +1,7 @@
|
|||
.PHONY=static all clean
|
||||
|
||||
ALL_STATIC := $(patsubst res/static/%,public/%,$(wildcard res/static/*))
|
||||
ALL_LESS := $(patsubst res/less/%.less,public/%.css,$(wildcard res/less/*.less))
|
||||
ALL_LESS := public/main.css public/index.css public/song.css
|
||||
ALL_TEMPLATES := $(wildcard res/templates/*.html)
|
||||
PY_SRC := $(wildcard src/**.py)
|
||||
|
||||
|
@ -20,7 +20,13 @@ public/audios: audios public
|
|||
rm -f public/audios
|
||||
ln -s ../audios public/audios
|
||||
|
||||
public/%.css: res/less/%.less
|
||||
public/main.css: res/less/main.less res/less/colors.less
|
||||
lessc $< $@
|
||||
|
||||
public/index.css: res/less/index.less res/less/colors.less
|
||||
lessc $< $@
|
||||
|
||||
public/song.css: res/less/song.less res/less/colors.less
|
||||
lessc $< $@
|
||||
|
||||
public/%: res/static/%
|
||||
|
|
Loading…
Reference in a new issue