blob: 8f41bab5775c2d18926c92ce3556d3019f8b8a21 [file] [log] [blame]
PYTHON=python2.7
# targets that aren't filenames
.PHONY: all clean deploy
all: _site/index.html
BUILDARGS :=
_site/index.html _site/wacas14/index.html:
jekyll build $(BUILDARGS)
#_includes/pubs.html: bib/pubs.bib bib/publications.tmpl
# mkdir -p _includes
# $(PYTHON) bibble/bibble.py $+ > $@
_site/index.html: $(wildcard *.html) _config.yml _layouts/default.html
clean:
$(RM) -r _site
HOST := https://zrlio.github.io/crail-project
PATHSVR := www/
deploy: clean all
rsync --compress --recursive --checksum --itemize-changes --delete -e ssh _site/ $(HOST):$(PATHSVR)