forked from uwsampa/research-group-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 692 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PYTHON=python2.7
# targets that aren't filenames
.PHONY: all clean deploy
all: _includes/pubs.html _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) _includes/pubs.html _config.yml \
_layouts/default.html
clean:
$(RM) -r _site _includes/pubs.html
HOST := root@kermit.speech.cs.cmu.edu
PATHSVR := /var/www/
deploy: clean all
rsync --compress --recursive --checksum --itemize-changes --exclude old_dialrc --delete -e ssh _site/ $(HOST):$(PATHSVR)
scp -r _private/* $(HOST):$(PATHSVR)