~tomterl/zshorg

ref: f1f2d857f2836b92c2f0bbd546239c7f90378272 zshorg/Makefile -rw-r--r-- 508 bytes
f1f2d857 — Tom Regner aliase to update includes/base and both 10 months 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: 
	antibody bundle < ${HOME}/.zsh.d/plugins.txt > ${HOME}/.zsh.d/plugins.sh
update-externals:
	antibody update

.PHONY: tangle externals update-externals