-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
41 lines (37 loc) · 1016 Bytes
/
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
.PHONY: qutebrowser
qutebrowser:
if [[ -f /etc/arch-release ]]; then \
cp .qutebrowser/config.py ~/.config/qutebrowser/; \
fi
.PHONY: youcompleteme
youcompleteme: ~/.config/nvim/plugged/YouCompleteMe
python3.10 -m pip install setuptools; \
python3.10 -m pip install --upgrade pynvim; \
cd $<; \
python3.10 install.py \
--clangd-completer \
--ts-completer \
--rust-completer
.PHONY: .bashrc
.bashrc:
if [[ "$${OSTYPE}" =~ darwin.* ]]; then \
rm -f ${HOME}/$@; \
ln -s $(realpath osx/$@) ${HOME}/$@; \
elif [[ -f /etc/arch-release ]]; then \
rm -f ${HOME}/$@; \
ln -s $(realpath arch/$@) ${HOME}/$@; \
fi
.PHONY: .bash_profile
.bash_profile:
if [[ "$${OSTYPE}" =~ darwin.* ]]; then \
rm -f ${HOME}/$@; \
ln -s $(realpath osx/$@) ${HOME}/$@; \
fi
.PHONY: .gitconfig
.gitconfig:
rm -f ${HOME}/$@; \
if [[ "${OSTYPE}" =~ darwin.* ]]; then \
ln -s $(realpath osx/$@) ${HOME}/$@; \
elif [[ -f /etc/arch-release ]]; then \
ln -s $(realpath arch/$@) ${HOME}/$@; \
fi