From 5b6817df57ba4d9bce492d465cf0be19d46f3d1c Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Tue, 3 Mar 2015 13:56:42 +0100 Subject: [PATCH] Included robot fonts in Makefile --- Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6a468e6..413c65a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ BOOTSTRAPVER=3.3.2 +JQUERYVER=2.1.1 REDIRS=$(shell cd pages; echo *.php) BOOTSTRAPNAME=bootstrap-$(BOOTSTRAPVER)-dist @@ -11,6 +12,9 @@ all: redirs bootstrap redirs: $(REDIRS) +js/jquery.min.js: + wget http://code.jquery.com/jquery-$(JQUERYVER).min.js -O $@ + bootstrap: wget https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAPVER)/$(BOOTSTRAPNAME).zip -O $(BOOTSTRAPNAME).zip unzip $(BOOTSTRAPNAME).zip $(BOOTSTRAPNAME)/fonts/* $(BOOTSTRAPNAME)/css/bootstrap.min.css $(BOOTSTRAPNAME)/js/bootstrap.min.js @@ -20,6 +24,17 @@ bootstrap: bootstrapClean: rm -rf fonts/glyphicons* */bootstrap* +fonts/robotech-gp.ttf: + wget http://dl.dafont.com/dl/?f=robotech_gp -O robotech_gp.zip + unzip robotech_gp.zip ROBOTECH\ GP.ttf + mv ROBOTECH\ GP.ttf $@ + rm -rf robotech_gp.zip ROBOTECH\ GP.ttf + +fonts/robotaur.ttf: + wget http://dl.dafont.com/dl/?f=robotaur -O robotaur.zip + unzip robotaur robotaur.ttf -d fonts + rm -rf robotaur.zip + clean: bootstrapClean cd img; make clean - rm -rf $(REDIRS) + rm -rf $(REDIRS) js/jquery.min.js fonts/robot*.ttf -- libgit2 0.21.2