-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (23 loc) · 718 Bytes
/
Makefile
File metadata and controls
31 lines (23 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SUBDIRS = db
all: setup $(SUBDIRS)
setup:
./setup.sh
css: libs.bootstrap
lessc lib/less/style.less > static/css/simple.css
libs: libs.bootstrap libs.jquery
libs.bootstrap:
mkdir -p static/libs/bootstrap/js
cp -rT lib/vendor/twbs/bootstrap/dist/fonts static/libs/bootstrap/fonts
cp lib/vendor/twbs/bootstrap/dist/js/bootstrap*.js static/libs/bootstrap/js
libs.jquery:
mkdir -p static/libs/jquery
cp lib/vendor/components/jquery/jquery*.js static/libs/jquery/
cp lib/vendor/components/jquery/jquery*.map static/libs/jquery/
docker:
docker build -t foxel/simpleone .
docker-clean:
git archive HEAD | \
docker build -t foxel/simpleone -
$(SUBDIRS):
$(MAKE) -C $@
.PHONY: $(SUBDIRS) setup docker static