X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/0c6e40cb03d8071b50c5906a6ae0a9d4cafed822..8b1a2f3244208cebd3dc595d8e7027bb9c5c3625:/Makefile?ds=sidebyside

diff --git a/Makefile b/Makefile
index 3b3a23f..c36f3ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,9 @@
-EMACS           ?= emacs
-EMACS_ARGUMENTS ?= -Q
+-include lib/borg/borg.mk
 
-.PHONY: all help clean build build-init quick bootstrap
-.FORCE:
+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
-
-build-init:
-	@rm -f init.elc
-	@$(EMACS) $(EMACS_ARGUMENTS) \
-	--batch -l init.el --eval '(a/build-init)' 2>&1
-
-ti: tangle-init
-bi: build-init
+i: build-init