Update scpaste to 0.6.5-20-gcd4fa0a
[~bandali/configs] / Makefile
index 3b3a23f..02296e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,24 @@
-EMACS           ?= emacs
-EMACS_ARGUMENTS ?= -Q
+-include lib/borg/borg.mk
 
 
-.PHONY: all help clean build build-init quick bootstrap
-.FORCE:
+INIT_FILES  = early-init.el
+INIT_FILES += init.el
+INIT_FILES += lisp/bandali-utils.el
+INIT_FILES += lisp/bandali-org.el
+INIT_FILES += lisp/bandali-theme.el
+INIT_FILES += lisp/bandali-ivy.el
+INIT_FILES += lisp/bandali-eshell.el
+INIT_FILES += lisp/bandali-ibuffer.el
+INIT_FILES += lisp/bandali-dired.el
+INIT_FILES += lisp/bandali-gnus.el
+INIT_FILES += lisp/bandali-message.el
+INIT_FILES += lisp/bandali-ebdb.el
+INIT_FILES += lisp/bandali-erc.el
+INIT_FILES += lisp/bandali-yasnippet.el
 
 
-tangle-init: init.el
-init.el: init.org
-       @$(EMACS) $(EMACS_ARGUMENTS) \
-       --batch --load org \
-       --eval '(org-babel-tangle-file "init.org")' 2>&1
+bootstrap-borg:
+       @git submodule--helper clone --name borg --path lib/borg \
+       --url https://github.com/emacscollective/borg.git
+       @cd lib/borg; git symbolic-ref HEAD refs/heads/master
+       @cd lib/borg; git reset --hard HEAD
 
 
-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