aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 0e0dd7015421a9b89c86f71034a71a3231f5effb (plain)
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
NUMIX = .local/share/themes/numix-no-title
BASHRC = .bashrc
VIMRC = .vimrc
HERBSTLUFT = .config/herbstluftwm
XRESOURCES = .Xresources


install: all

all:  bash vim xresources numix-no-title herbstluftwm

numix-no-title: 
	#create wm theme dir if not exist
	mkdir -p  ~/$(NUMIX)

	#remove content if existing
	-rm -rf ~/$(NUMIX)/*

	#copy new contents in
	cp -rf $(NUMIX)/* ~/$(NUMIX)/

herbstluftwm:
	#create herbstluftwm if not exist
	mkdir -p ~/$(HERBSTLUFT)

	#remove content if existing
	-rm -rf ~/$(HERBSTLUFT)/*

	#copy new contents in 
	cp -rf $(HERBSTLUFT)/* ~/$(HERBSTLUFT)/

bash:
	#copy bashrc to home
	cp -f $(BASHRC) ~

vim:
	#copy vimrc to home
	cp -f $(VIMRC) ~

xresources:
	#copy Xresources to home
	cp -f $(XRESOURCES) ~

uninstall: 
	#remove all
	-rm -rf ~/$(WM-THEME-DIR)
	-rm -rf ~/$(HERBSTLUFT)
	-rm -f ~/$(BASHRC)
	-rm -f ~/$(VIMRC)
	-rm -f ~/$(XRESOURCES)