summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-08-03 12:11:01 +0200
committerAlan Pearce2017-08-03 12:11:01 +0200
commitf4aa8c2484b2fc00afa5935e31164f0b4bb6c311 (patch)
tree68c0de26035dcf272cf56b4b7a08ce3895fc951a /emacs
parent8c97e999adee892e046ecfaa611193b47497d6fc (diff)
downloadnixfiles-f4aa8c2484b2fc00afa5935e31164f0b4bb6c311.tar.lz
nixfiles-f4aa8c2484b2fc00afa5935e31164f0b4bb6c311.tar.zst
nixfiles-f4aa8c2484b2fc00afa5935e31164f0b4bb6c311.zip
Emacs: Update Makefile to only byte-compile init
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/emacs/.emacs.d/Makefile b/emacs/.emacs.d/Makefile
index 9f086ffd..71415d56 100644
--- a/emacs/.emacs.d/Makefile
+++ b/emacs/.emacs.d/Makefile
@@ -1,13 +1,3 @@
-define EMACS_TANGLE
-(progn\
-  (require 'package)\
-  (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.
@@ -16,11 +6,8 @@ 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
 
 clean:
-	rm init.el init.elc
+	rm init.elc