blob: 350a79b643347e0c592506da3d1e79be4a72000a (
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
|
MOVE = mv -i
COPY = cp -i
.PHONY: nop bash grub i3 polybar
nop:
@echo "Please, look over Makefile before executing any targets."
@echo "They can overwrite your script. Be careful!"
bash:
$(MOVE) ~/.bashrc ~/.bashrc-old
$(COPY) .bashrc ~
$(MOVE) ~/.bash_profile ~/.bash_profile-old
$(COPY) .bash_profile ~
$(MOVE) ~/.bash_prompt ~/.bash_prompt-old
$(COPY) .bash_prompt ~
$(MOVE) ~/.aliases ~/.aliases-old
$(COPY) .aliases ~
grub:
$(MOVE) /etc/default/grub /etc/default/grub-old
$(COPY) grub/default/grub /etc/default/grub
i3:
$(MOVE) ~/.config/i3/config ~/.config/i3/config-old
$(COPY) dotconfig/i3/config ~/.config/i3/config
polybar:
$(MOVE) ~/.config/polybar/* ~/.config/polybar-old/.
$(COPY) -r dotconfig/polybar ~/.config/.
|