2013-03-10 18:28:50 +01:00
|
|
|
LESSC = lessc
|
|
|
|
LESSCFLAGS = -x
|
|
|
|
STATIC = static
|
|
|
|
STATIC_CSS = $(STATIC)/css
|
2013-03-10 20:17:16 +01:00
|
|
|
STATIC_JS = $(STATIC)/js
|
2013-03-10 18:28:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
all: build
|
|
|
|
@echo "Nice."
|
|
|
|
|
|
|
|
|
2013-03-10 19:20:09 +01:00
|
|
|
build: clean less coffee
|
|
|
|
|
2013-03-10 20:17:16 +01:00
|
|
|
|
2013-03-10 19:20:09 +01:00
|
|
|
less:
|
2013-03-10 20:17:16 +01:00
|
|
|
make -C less
|
|
|
|
mv less/*css $(STATIC_CSS)
|
|
|
|
|
2013-03-10 18:28:50 +01:00
|
|
|
|
2013-03-10 19:20:09 +01:00
|
|
|
coffee:
|
2013-03-10 20:17:16 +01:00
|
|
|
make -C coffee
|
|
|
|
mv coffee/*js $(STATIC_JS)
|
2013-03-10 18:28:50 +01:00
|
|
|
|
|
|
|
clean:
|
2013-03-10 19:10:43 +01:00
|
|
|
rm -f $(STATIC_CSS)/hy.css
|
2013-03-10 18:28:50 +01:00
|
|
|
|
|
|
|
|
2013-03-10 19:20:09 +01:00
|
|
|
.PHONY: build clean less coffee
|