add dep checking.
This commit is contained in:
parent
85ffdbdb8a
commit
7a907e2a3a
@ -3,7 +3,7 @@ STATIC_CSS = $(STATIC)/css
|
|||||||
STATIC_JS = $(STATIC)/js
|
STATIC_JS = $(STATIC)/js
|
||||||
|
|
||||||
|
|
||||||
all: hello build
|
all: hello deps build
|
||||||
|
|
||||||
|
|
||||||
hello:
|
hello:
|
||||||
@ -32,12 +32,17 @@ coffee:
|
|||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(STATIC_CSS) $(STATIC_JS)
|
rm -fr $(STATIC_CSS) $(STATIC_JS)
|
||||||
mkdir -p $(STATIC_CSS) $(STATIC_JS)
|
mkdir -p $(STATIC_CSS) $(STATIC_JS)
|
||||||
|
|
||||||
|
|
||||||
devel:
|
devel:
|
||||||
@./devel.sh
|
@./devel.sh
|
||||||
|
|
||||||
|
deps:
|
||||||
|
set -e; for x in $(shell cat dependencies); do \
|
||||||
|
echo "Checking for dependency: $$x"; \
|
||||||
|
dpkg-query -s $$x >/dev/null 2>&1; \
|
||||||
|
done;
|
||||||
|
|
||||||
.PHONY: build clean less coffee devel
|
.PHONY: build clean less coffee devel
|
||||||
|
3
site/dependencies
Normal file
3
site/dependencies
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
coffeescript
|
||||||
|
node-uglify
|
||||||
|
node-less
|
Loading…
Reference in New Issue
Block a user