summary refs log tree commit diff
path: root/Makefile
blob: 6d231399523b25d083df01b2246b5091c8e61ce8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
EMACS	    = emacs
EMACS_BATCH = $(EMACS) -Q -batch
XDG_CONFIG  = $(HOME)/.config/
LN = @ln -sf

.PHONY: emacs
emacs:
	$(LN) $(PWD) $(XDG_CONFIG)

.PHONY: clean
clean:
	rm -f *.elc *~ settings.el
	rm -rf elpa eln-cache

.PHONY: setup
setup:
	@git config --local user.email "franck@fcuny.net"
	@git config --local user.name "Franck Cuny"

all: setup emacs