forked from shell909090/emacscfg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (39 loc) · 1.27 KB
/
Makefile
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
40
41
42
43
44
45
46
47
48
49
50
### Makefile ---
## Author: [email protected]
## Version: $Id: Makefile,v 0.0 2010/01/20 17:13:26 shell Exp $
## Keywords:
## X-URL:
all: install
update: clean build
# build:
# emacs -q --no-splash -batch --eval '(byte-recompile-directory "plugins" 0)'
# emacs -q --no-splash -L plugins/ -batch --eval '(byte-recompile-directory "lisp" 0)'
clean:
find . -name '*.elc' -delete
find . -name '*.pyc' -delete
install-venv:
mkdir -p pyenv
virtualenv pyenv
pyenv/bin/pip install --upgrade rope
pyenv/bin/pip install --upgrade jedi
pyenv/bin/pip install --upgrade importmagic
pyenv/bin/pip install --upgrade autopep8
pyenv/bin/pip install --upgrade yapf
install-deb:
sudo aptitude install auto-complete-el dictionary-el emacs-goodies-el magit
sudo aptitude install elpa-markdown-mode elpa-helm exuberant-ctags flake8
install-golang:
go get golang.org/x/tools/cmd/goimports
go install golang.org/x/tools/cmd/goimports
go get github.com/nsf/gocode
go install github.com/nsf/gocode
go get github.com/rogpeppe/godef
go install github.com/rogpeppe/godef
go get golang.org/x/tools/cmd/guru
go install golang.org/x/tools/cmd/guru
clean-venv:
rm -rf pyenv
install:
ln -sf $(shell pwd)/lisp/emacs.el ~/.emacs
ln -sf $(shell pwd)/lisp/emacs.elc ~/.emacs.elc
### Makefile ends here