2016-07-23 16:46:44 +01:00
|
|
|
DOTFILES=$(PWD)
|
|
|
|
|
|
|
|
|
2016-07-23 19:55:36 +01:00
|
|
|
install: apt bash bin config gnome yaourt
|
|
|
|
chmod +x $(DOTFILES)/deploy.sh
|
2016-07-23 16:46:44 +01:00
|
|
|
|
2016-07-23 19:55:36 +01:00
|
|
|
bin:
|
|
|
|
chmod +x $(DOTFILES)/bin/*
|
2016-07-23 16:46:44 +01:00
|
|
|
|
|
|
|
bash: yaourt
|
|
|
|
ln -sfP $(DOTFILES)/bash/.bashrc ~/.bashrc
|
|
|
|
ln -sfP /usr/share/nvm/init-nvm.sh ~/.nvm/nvm.sh
|
|
|
|
|
|
|
|
config: yaourt
|
|
|
|
mkdir -p ~/.config/terminator
|
|
|
|
cp $(DOTFILES)/config/terminator.conf ~/.config/terminator/config
|
|
|
|
|
|
|
|
gnome: yaourt
|
|
|
|
rm -rf ~/Templates/*
|
|
|
|
ln -sfP $(DOTFILES)/gnome/Templates/* ~/Templates/
|
|
|
|
|
2016-07-23 19:55:36 +01:00
|
|
|
yaourt: pacman hot\-fix
|
2016-07-23 16:46:44 +01:00
|
|
|
yaourt -Syau # Install any updates before extra packages
|
|
|
|
yaourt -S `cat $(DOTFILES)/yaourt/packages.conf` --needed
|
|
|
|
ln -sfP $(DOTFILES)/yaourt/.yaourtrc ~/.yaourtrc
|
|
|
|
|
|
|
|
pacman:
|
|
|
|
gpg --recv-keys F7E48EDB # Add custom key for ncurses
|
|
|
|
sudo ln -sfP $(DOTFILES)/yaourt/pacman.conf /etc/pacman.conf
|
|
|
|
sudo pacman-key -r 962DDE58
|
|
|
|
sudo pacman-key --lsign-key 962DDE58
|
|
|
|
gpg --keyserver pool.sks-keyservers.net --recv-keys 2E1AC68ED40814E0 # gotta be a way to add to pacman, not my GPG
|
|
|
|
|
2016-07-23 19:55:36 +01:00
|
|
|
hot\-fix:
|
2016-07-23 16:46:44 +01:00
|
|
|
sudo ln -sfP /usr/bin/python2 /usr/bin/python # Set the default python version to be python 2
|
|
|
|
|
2016-07-23 19:55:36 +01:00
|
|
|
.PHONY: apt bash bin config gnome yaourt pacman hot-fix
|