Commit 5b6817df57ba4d9bce492d465cf0be19d46f3d1c
1 parent
ba995b4e
Included robot fonts in Makefile
Showing
1 changed file
with
16 additions
and
1 deletions
Show diff stats
Makefile
1 | 1 | BOOTSTRAPVER=3.3.2 |
2 | +JQUERYVER=2.1.1 | |
2 | 3 | |
3 | 4 | REDIRS=$(shell cd pages; echo *.php) |
4 | 5 | BOOTSTRAPNAME=bootstrap-$(BOOTSTRAPVER)-dist |
... | ... | @@ -11,6 +12,9 @@ all: redirs bootstrap |
11 | 12 | |
12 | 13 | redirs: $(REDIRS) |
13 | 14 | |
15 | +js/jquery.min.js: | |
16 | + wget http://code.jquery.com/jquery-$(JQUERYVER).min.js -O $@ | |
17 | + | |
14 | 18 | bootstrap: |
15 | 19 | wget https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAPVER)/$(BOOTSTRAPNAME).zip -O $(BOOTSTRAPNAME).zip |
16 | 20 | unzip $(BOOTSTRAPNAME).zip $(BOOTSTRAPNAME)/fonts/* $(BOOTSTRAPNAME)/css/bootstrap.min.css $(BOOTSTRAPNAME)/js/bootstrap.min.js |
... | ... | @@ -20,6 +24,17 @@ bootstrap: |
20 | 24 | bootstrapClean: |
21 | 25 | rm -rf fonts/glyphicons* */bootstrap* |
22 | 26 | |
27 | +fonts/robotech-gp.ttf: | |
28 | + wget http://dl.dafont.com/dl/?f=robotech_gp -O robotech_gp.zip | |
29 | + unzip robotech_gp.zip ROBOTECH\ GP.ttf | |
30 | + mv ROBOTECH\ GP.ttf $@ | |
31 | + rm -rf robotech_gp.zip ROBOTECH\ GP.ttf | |
32 | + | |
33 | +fonts/robotaur.ttf: | |
34 | + wget http://dl.dafont.com/dl/?f=robotaur -O robotaur.zip | |
35 | + unzip robotaur robotaur.ttf -d fonts | |
36 | + rm -rf robotaur.zip | |
37 | + | |
23 | 38 | clean: bootstrapClean |
24 | 39 | cd img; make clean |
25 | - rm -rf $(REDIRS) | |
40 | + rm -rf $(REDIRS) js/jquery.min.js fonts/robot*.ttf | ... | ... |