4 WHICH_EMACS:=$(shell which emacs >/dev/null 2>&1 || echo "fail")
9 ifeq ($(strip $(WHICH_EMACS)),)
10 ORG_EL_FILES=don-configuration.el
11 ORG_ELC_FILES=don-configuration.elc
20 install_packages: install_packages.el
21 $(EMACS) --batch -q --no-site-file $(LIB_PATH) -l install_packages.el && \
24 $(ORG_ELC_FILES): %.elc: %.el install_packages
25 $(EMACS) --batch -q --no-site-file $(LIB_PATH) $(USE_PACKAGE) --eval "(byte-compile-file \"$<\")"
27 $(ORG_EL_FILES): %.el: %.org install_packages
28 $(EMACS) --batch -q --no-site-file --visit $< --funcall org-babel-tangle