blob: 5ca6bc88d12a24abf22a7097fe0393a04081f3fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
ROOT := $(shell pwd)
CLEODIR := site/posts/meta
GENFILES := scripts/tangle-org.el bootstrap.mk
default: build
include bootstrap.mk
bootstrap.mk scripts/tangle-org.el &: ${CLEODIR}/Bootstrap.org
@echo " tangle $<"
@ROOT="${ROOT}" emacs $< --batch \
--eval "(require 'org)" \
--eval "(setq org-src-preserve-indentation t)" \
--eval "(org-babel-tangle)" 2>/dev/null
.PHONY: clean build force default
|