X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/efcec62384fd15b82a921b34de90935c9c1ee59e..c49fa11a90f9b17159062e3ab2f4a960f1048ffd:/Makefile diff --git a/Makefile b/Makefile index 37c1f3f..02296e8 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,24 @@ -EMACS ?= emacs -EMACS_ARGUMENTS ?= -Q +-include lib/borg/borg.mk -tangle-init: init.el -init.el: init.org - @$(EMACS) $(EMACS_ARGUMENTS) \ - --batch --load org \ - --eval '(org-babel-tangle-file "init.org")' 2>&1 +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 -build-init: - @$(EMACS) $(EMACS_ARGUMENTS) \ - --batch -l init.el --eval '(a/build-init)' 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 -ti: tangle-init -bi: build-init - -clean: FORCE - @rm -f init.elc - -.PHONY: clean tangle-init build-init -.FORCE: +i: build-init