~tomterl/zshorg

zshorg/Makefile -rw-r--r-- 542 bytes
7fea1dd8 — Tom Regner Plugin management: Replace antibody with antidote a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FILES:="\"zshrc.org\""
DIR:=$(shell pwd)
ORGINSTALL:=${HOME}/.emacs.src.d/org-mode/lisp/
SHELL:=zsh

tangle:
	@emacs -Q --batch -L ${ORGINSTALL} \
		--eval "(progn \
			(require 'org) (require 'ob) (require 'ob-tangle) \
			 (mapc (lambda (file) (find-file (expand-file-name file \"$(DIR)\")) (org-babel-tangle) (kill-buffer)) '($(FILES))))" 

externals: 
	zsh -i -c "antidote bundle < ${HOME}/.zsh.d/plugins.txt > ${HOME}/.zsh.d/plugins.sh"
update-externals:
	zsh -i -c "(antidote update) && true"

.PHONY: tangle externals update-externals