-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (26 loc) · 990 Bytes
/
Makefile
File metadata and controls
39 lines (26 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FILES := $(shell git ls-tree HEAD -r ntd | cut -f 2 | sed -e 's!^ntd/!!')
HOME_FILES := $(addprefix $(HOME)/, $(FILES))
install: $(HOME_FILES)
list:
@echo $(FILES)
@echo $(HOME_FILES)
$(HOME)/%: ntd/%
@mkdir -p `dirname $@`
@if [ ! -L $@ ] ; then ln -vs `pwd`/$< $@; fi
clean:
rm -f $(HOME_FILES)
WL_VARS := LISPDIR=~/.emacs.d/site-lisp VERSION_SPECIFIC_LISPDIR=~/.emacs.d/site-lisp PIXMAPDIR=~/.emacs.d/pixmaps
apel:
$(MAKE) -C emacs/$@
$(MAKE) -C emacs/$@ install $(WL_VARS)
flim:
$(MAKE) -C emacs/$@ $(WL_VARS)
$(MAKE) -C emacs/$@ install $(WL_VARS)
semi:
$(MAKE) -C emacs/$@ $(WL_VARS)
$(MAKE) -C emacs/$@ install $(WL_VARS)
wanderlust:
echo '(setq load-path (append (list "/home/ntd/.emacs.d/site-lisp/apel" "/home/ntd/.emacs.d/site-lisp/flim" "/home/ntd/.emacs.d/site-lisp/semi") load-path))' > emacs/wanderlust/WL-CFG
echo '(setq wl-install-utils t)' >> emacs/wanderlust/WL-CFG
$(MAKE) -C emacs/$@ $(WL_VARS)
$(MAKE) -C emacs/$@ install $(WL_VARS)