diff options
author | Thomas Letan <lthms@soap.coffee> | 2020-02-22 14:34:21 +0100 |
---|---|---|
committer | Thomas Letan <lthms@soap.coffee> | 2020-02-22 14:41:03 +0100 |
commit | dae198a981becb270f62a817f2406f23481dc1b0 (patch) | |
tree | 2df7ccb6fedbc255d3c5a233cd859179339ed062 /Makefile | |
parent | Initiate the redaction of Bootstrap.org (diff) |
Provide a generic and reliable way to extends cleopatra
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,8 +1,9 @@ ROOT := $(shell pwd) CLEODIR := site/posts/meta -GENFILES := scripts/tangle-org.el bootstrap.mk EMACS := ROOT="${ROOT}" emacs +GENFILES := scripts/tangle-org.el bootstrap.mk + default: build include bootstrap.mk @@ -12,5 +13,8 @@ Makefile bootstrap.mk scripts/tangle-org.el \ @echo " tangle $<" @${EMACS} $< --batch \ --eval "(require 'org)" \ + --eval "(cd (getenv \"ROOT\"))" \ --eval "(setq org-src-preserve-indentation t)" \ - --eval "(org-babel-tangle)" 2>/dev/null + --eval "(org-babel-do-load-languages 'org-babel-load-languages'((shell . t)))" \ + --eval "(setq org-confirm-babel-evaluate nil)" \ + --eval "(org-babel-tangle)" |