-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 736 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 736 Bytes
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
## Makefile
BASE_DIR=`pwd`
HOME_DIR=`grep ${USER} /etc/passwd | cut -d ":" -f6`
default: my_mutt my_ion3
my_environment:
cp ${BASE_DIR}/dot/dot.bashrc ${HOME_DIR}/.bashrc
cp ${BASE_DIR}/dot/dot.bash_aliases ${HOME_DIR}/.bash_aliases
cp ${BASE_DIR}/dot/dot.bash_profile ${HOME_DIR}/.bash_profile
cp ${BASE_DIR}/dot/dot.profile ${HOME_DIR}/.profile
cp ${BASE_DIR}/dot/dot.Xdefaults ${HOME_DIR}/.Xdefaults
my_vim:
cp ${BASE_DIR}/dot/dot.vimrc ${HOME_DIR}/.vimrc
if [ -d ${HOME_DIR}/.vim ]; then
cp -pr ${BASE_DIR}/vim/* ${HOME_DIR}/.vim
else
mkdir ${HOME_DIR}/.vim
cp -pr ${BASE_DIR}/vim/* ${HOME_DIR}/.vim
fi
my_mutt:
@echo "Place holder"
my_ion3:
echo "Don't use ion3 anymore, you can't use it too bad so sad"