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