projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[emacs] update 4 packages
[~bandali/configs]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
e694d46
..
37c1f3f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,13
+1,21
@@
--include lib/borg/borg.mk
+EMACS ?= emacs
+EMACS_ARGUMENTS ?= -Q
-bootstrap-borg:
- @git submodule--helper clone --name borg --path lib/borg \
- --url git@github.com:emacscollective/borg.git
- @cd lib/borg; git symbolic-ref HEAD refs/heads/master
- @cd lib/borg; git reset --hard HEAD
+tangle-init: init.el
+init.el: init.org
+ @$(EMACS) $(EMACS_ARGUMENTS) \
+ --batch --load org \
+ --eval '(org-babel-tangle-file "init.org")' 2>&1
-bootstrap: tangle-init
+build-init:
+ @$(EMACS) $(EMACS_ARGUMENTS) \
+ --batch -l init.el --eval '(a/build-init)' 2>&1
-ta: tangle-init all
+ti: tangle-init
+bi: build-init
-ti: tangle-init build-init
+clean: FORCE
+ @rm -f init.elc
+
+.PHONY: clean tangle-init build-init
+.FORCE: