all repos — archive/dotfiles @ be62cbb6aa92d2f788fd9449152156076151ca1f

Superseded by nixfiles

Merge branch 'master' of ssh://alanpearce.eu/dotfiles

Alan Pearce
commit

be62cbb6aa92d2f788fd9449152156076151ca1f

parent

d160fda17634bf780c53e38e2ad895ebd15a2e1e

1 file changed, 3 insertions(+), 13 deletions(-)

changed files
M emacs/.emacs.d/Makefileemacs/.emacs.d/Makefile
@@ -1,23 +1,13 @@
-define EMACS_TANGLE -(progn\ - (package-refresh-contents nil)\ - (setq vc-follow-symlinks nil)\ - (find-file \"init.org\")\ - (require 'ob-tangle)\ - (org-babel-tangle nil \"init.el\")) -endef +EMACS := ${NIX_LINK}/bin/emacs # The first target is the default. `all` is typically defined here. all: init.elc # These targets don't pertain to files .PHONY: all clean - -init.el: - @emacs --batch --no-init-file --eval "$(EMACS_TANGLE)" --kill init.elc: init.el - @emacs --batch --no-init-file --funcall batch-byte-compile init.el + $(EMACS) --batch --no-init-file --funcall batch-byte-compile init.el clean: - rm init.el init.elc + rm init.elc