hy/site/Makefile
2013-03-10 16:13:17 -04:00

44 lines
461 B
Makefile

STATIC = static
STATIC_CSS = $(STATIC)/css
STATIC_JS = $(STATIC)/js
all: hello build
hello:
@cowsay 'Welcome to Hy!'
build: clean css js
css: less
cp css/* $(STATIC_CSS)
js: coffee
cp js/* $(STATIC_JS)
less:
make -C less
mv less/*css $(STATIC_CSS)
coffee:
make -C coffee
mv coffee/*js $(STATIC_JS)
clean:
rm -f $(STATIC_CSS) $(STATIC_JS)
mkdir -p $(STATIC_CSS) $(STATIC_JS)
devel:
@./devel.sh
.PHONY: build clean less coffee devel