X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/0c6e40cb03d8071b50c5906a6ae0a9d4cafed822..8c4704d01f819581a7cdcad2ffebfba996ebd30e:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 3b3a23f..02296e8 100644 --- 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