From eb538197074b32679beb91019d91be7825290393 Mon Sep 17 00:00:00 2001 From: Thomas Letan Date: Sat, 22 Feb 2020 00:36:17 +0100 Subject: Initiate the redaction of Bootstrap.org --- Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3