Skip to content

Commit

Permalink
Add a makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespjh committed Jun 25, 2015
1 parent 2a99091 commit 355dc86
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ROOT=""

default: _site

master.zip: Makefile
rm -f master.zip
wget https://github.com/UCL-RITS/indigo-jekyll/archive/master.zip

indigo-jekyll-master: Makefile master.zip
rm -rf indigo-jekyll-master
unzip master.zip
touch indigo-jekyll-master

indigo: indigo-jekyll-master Makefile
cp -r indigo-jekyll-master/indigo/images .
cp -r indigo-jekyll-master/indigo/js .
cp -r indigo-jekyll-master/indigo/css .
cp -r indigo-jekyll-master/indigo/_includes .
cp -r indigo-jekyll-master/indigo/_layouts .
cp -r indigo-jekyll-master/indigo/favicon* .
touch indigo

_site: indigo
jekyll build

clean:
rm -rf _site
rm -rf images js css _includes _layouts favicon* master.zip indigo-jekyll-master

0 comments on commit 355dc86

Please sign in to comment.