diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6bc0c7c --- /dev/null +++ b/Makefile @@ -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 +