This commit is contained in:
Tom Willemse 2016-10-19 21:00:03 +02:00
parent 83dff80d0b
commit b49b0f4ec5

View file

@ -3,7 +3,7 @@ EMACS = /usr/bin/emacs
define tangle = define tangle =
@echo -e "\e[35mOBT\e[0m" $< @echo -e "\e[35mOBT\e[0m" $<
@$(EMACS) -batch \ @$(EMACS) -batch \
-eval "(package-initialize)"\ -eval "(package-initialize)" \
-load ob-tangle \ -load ob-tangle \
-eval "(org-babel-tangle-file \"$<\" \"$(notdir $@)\" \"$(1)\")" -eval "(org-babel-tangle-file \"$<\" \"$(notdir $@)\" \"$(1)\")"
endef endef