aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 059578440a1c3c42b1df50b569cd54a85888e840 (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
NUMIX-NO-TITLE = .local/share/themes/numix-no-title
BASHRC = .bashrc
VIMRC = .vimrc
HERBSTLUFT = .config/herbstluftwm

install: all

all:  bash vim numix-no-title herbstluft

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

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

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

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) ~

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