summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-26 18:05:38 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-26 18:05:38 -0500
commit0c6e40cb03d8071b50c5906a6ae0a9d4cafed822 (patch)
tree989dbbb5738a522ccaa82d323514fefe635b9027 /Makefile
parentc4056581936c6e173c6dce3afb2c1fdac6adbb69 (diff)
parenteb7e51cf86cbc2983ade92431efa151817c20499 (diff)
downloadconfigs-0c6e40cb03d8071b50c5906a6ae0a9d4cafed822.tar.gz
configs-0c6e40cb03d8071b50c5906a6ae0a9d4cafed822.tar.xz
configs-0c6e40cb03d8071b50c5906a6ae0a9d4cafed822.zip
Merge branch 'straight-next'
Diffstat (limited to '')
-rw-r--r--Makefile24
1 files changed, 15 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index e694d46..3b3a23f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,19 @@
--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
+.PHONY: all help clean build build-init quick bootstrap
+.FORCE:
-bootstrap: tangle-init
+tangle-init: init.el
+init.el: init.org
+ @$(EMACS) $(EMACS_ARGUMENTS) \
+ --batch --load org \
+ --eval '(org-babel-tangle-file "init.org")' 2>&1
-ta: tangle-init all
+build-init:
+ @rm -f init.elc
+ @$(EMACS) $(EMACS_ARGUMENTS) \
+ --batch -l init.el --eval '(a/build-init)' 2>&1
-ti: tangle-init build-init
+ti: tangle-init
+bi: build-init