summaryrefslogtreecommitdiff
path: root/makefile
blob: d5dbd38983f52ac64dedb67d767084aea30e3242 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
EMACS = emacs
ARGS = -batch -e "org-html-export-to-html"

all: index.html blog/index.html blog/gentoo-on-gcloud.html

index.html: index.org
	$(EMACS) $< $(ARGS)

blog/index.html: blog/index.org
	$(EMACS) $< $(ARGS)

blog/gentoo-on-gcloud.html: blog/gentoo-on-gcloud.org
	$(EMACS) $< $(ARGS)

install:
	mkdir srv srv/blog
	cp -r *.html blog srv

clean:
	rm -rf *.html blog/*.html srv