Removed git and git config files from Makefile
They are being handled by ansible playbook now
This commit is contained in:
11
Makefile
11
Makefile
@@ -1,17 +1,15 @@
|
||||
HOST=$(shell hostname)
|
||||
|
||||
server: mkdirs softlinks gitconfig
|
||||
server: mkdirs softlinks
|
||||
@echo "Running firstrun and Linking softlinks (server)"
|
||||
|
||||
nonserver: mkdirs softlinks-non-server softlinks gitconfig
|
||||
nonserver: mkdirs softlinks-non-server softlinks
|
||||
@echo "Running firstrun and Linking softlinks (non-server)"
|
||||
|
||||
|
||||
softlinks: dependencies
|
||||
@test -L ${HOME}/.muttrc || ln -s ${HOME}/dotfiles/.muttrc ${HOME}/.muttrc
|
||||
@test -L ${HOME}/.elinks || ln -s ${HOME}/dotfiles/.elinks ${HOME}/.elinks
|
||||
@test -L ${HOME}/.gitconfig || ln -s ${HOME}/dotfiles/.gitconfig ${HOME}/.gitconfig
|
||||
@test -L ${HOME}/.gitignore || ln -s ${HOME}/dotfiles/.gitignore ${HOME}/.gitignore
|
||||
@test -L ${HOME}/.tmux.conf || ln -s ${HOME}/dotfiles/.tmux.conf ${HOME}/.tmux.conf
|
||||
|
||||
softlinks-non-server: dependencies-nonserver
|
||||
@@ -19,15 +17,10 @@ softlinks-non-server: dependencies-nonserver
|
||||
@test -L ${HOME}/.crawlrc || ln -s ${HOME}/dotfiles/.crawlrc ${HOME}/.crawlrc
|
||||
@test -L ${HOME}/.dosbox || ln -s ${HOME}/dotfiles/.dosbox ${HOME}/.dosbox
|
||||
|
||||
gitconfig: dependencies softlinks
|
||||
git config --global user.name "${USER} ($(HOST))"
|
||||
git config --global user.email chawley@planethawleywood.com
|
||||
|
||||
dependencies:
|
||||
sudo apt install mutt || sudo yum install mutt
|
||||
sudo apt install tmux || sudo yum install tmux
|
||||
sudo apt install elinks || sudo yum install elinks
|
||||
sudo apt install git || sudo yum install git
|
||||
|
||||
dependencies-nonserver: dependencies
|
||||
sudo apt install abcde || sudo yum install abcde
|
||||
|
||||
Reference in New Issue
Block a user