-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 1.01 KB
/
Makefile
File metadata and controls
41 lines (29 loc) · 1.01 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# targets that aren't filenames
.PHONY: all clean deploy build serve
SERVE_HOST ?= 127.0.0.1
SERVE_PORT ?= 5000
all: build
BIBBLE = bibble
_includes/multimodal.html: bib/multimodal.bib bib/publications.tmpl
mkdir -p _includes
$(BIBBLE) $+ > $@
_includes/pixel.html: bib/pixel.bib bib/publications.tmpl
mkdir -p _includes
$(BIBBLE) $+ > $@
_includes/rag.html: bib/rag.bib bib/publications.tmpl
mkdir -p _includes
$(BIBBLE) $+ > $@
_includes/pubs.html: bib/bib.bib bib/publications.tmpl
mkdir -p _includes
$(BIBBLE) $+ > $@
_includes/recent.html: bib/bib.bib bib/recent.tmpl
mkdir -p _includes
$(BIBBLE) $+ > $@
build: _includes/recent.html _includes/pubs.html _includes/rag.html _includes/multimodal.html _includes/pixel.html
jekyll build
serve: build
jekyll serve --port $(SERVE_PORT) --host $(SERVE_HOST)
debug: build
jekyll serve --verbose --port $(SERVE_PORT) --host $(SERVE_HOST)
clean:
$(RM) -r _site _includes/pubs.html _includes/recent.html _includes/rag.html _includes/mm.html _includes/pixel.html