summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2020-02-22 00:36:17 +0100
committerThomas Letan <lthms@soap.coffee>2020-02-22 00:36:17 +0100
commiteb538197074b32679beb91019d91be7825290393 (patch)
tree8bff72b25fd95bdf69fc3e249fffb1a3e1374b3a /Makefile
parentVarious improvement in cleopatra (diff)
Initiate the redaction of Bootstrap.org
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 5ca6bc8..565cd8a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,16 @@
ROOT := $(shell pwd)
CLEODIR := site/posts/meta
-
GENFILES := scripts/tangle-org.el bootstrap.mk
+EMACS := ROOT="${ROOT}" emacs
default: build
include bootstrap.mk
-bootstrap.mk scripts/tangle-org.el &: ${CLEODIR}/Bootstrap.org
+Makefile 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
+ @${EMACS} $< --batch \
+ --eval "(require 'org)" \
+ --eval "(setq org-src-preserve-indentation t)" \
+ --eval "(org-babel-tangle)" 2>/dev/null