summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 69739d16a5fe11d51837f74a0605cbac79813b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ROOT := $(shell pwd)
CLEODIR := site/posts/meta/
GENFILES := scripts/tangle-org.el bootstrap.mk

include bootstrap.mk

bootstrap.mk scripts/tangle-org.el &: site/posts/meta/Bootstrap.org
	@echo "  tangle  $<"
	@ROOT="${ROOT}" emacs $< --batch \
	                  --eval "(require 'org)" \
	                  --eval "(setq org-src-preserve-indentation t)" \
	                  --eval "(org-babel-tangle)"

.PHONY: clean build force