Changed Makefile to accomodate yum and separate server / nonserver
installs
This commit is contained in:
35
Makefile
35
Makefile
@@ -1,5 +1,9 @@
|
|||||||
all: mkdirs softlinks
|
server: mkdirs softlinks
|
||||||
@echo "Running firstrun and Linking softlinks"
|
@echo "Running firstrun and Linking softlinks (server)"
|
||||||
|
|
||||||
|
nonserver: mkdirs softlinks-non-server softlinks
|
||||||
|
@echo "Running firstrun and Linking softlinks (server)"
|
||||||
|
|
||||||
|
|
||||||
softlinks: dependencies
|
softlinks: dependencies
|
||||||
@test -L ${HOME}/.mutt || ln -s ${HOME}/dotfiles/.mutt ${HOME}/.mutt
|
@test -L ${HOME}/.mutt || ln -s ${HOME}/dotfiles/.mutt ${HOME}/.mutt
|
||||||
@@ -7,29 +11,32 @@ softlinks: dependencies
|
|||||||
@test -L ${HOME}/.elinks || ln -s ${HOME}/dotfiles/.elinks ${HOME}/.elinks
|
@test -L ${HOME}/.elinks || ln -s ${HOME}/dotfiles/.elinks ${HOME}/.elinks
|
||||||
@test -L ${HOME}/.irssi || ln -s ${HOME}/dotfiles/.irssi ${HOME}/.irssi
|
@test -L ${HOME}/.irssi || ln -s ${HOME}/dotfiles/.irssi ${HOME}/.irssi
|
||||||
@test -L ${HOME}/.gitconfig || ln -s ${HOME}/dotfiles/.gitconfig ${HOME}/.gitconfig
|
@test -L ${HOME}/.gitconfig || ln -s ${HOME}/dotfiles/.gitconfig ${HOME}/.gitconfig
|
||||||
@test -L ${HOME}/.abcde.conf || ln -s ${HOME}/dotfiles/.abcde.config ${HOME}/.abcde.conf
|
|
||||||
@test -L ${HOME}/.conkyrc || ln -s ${HOME}/dotfiles/.conkyrc ${HOME}/.conkyrc
|
|
||||||
@test -L ${HOME}/.crawlrc || ln -s ${HOME}/dotfiles/.crawlrc ${HOME}/.crawlrc
|
|
||||||
@test -L ${HOME}/.dosbox || ln -s ${HOME}/dotfiles/.dosbox ${HOME}/.dosbox
|
|
||||||
@test -L ${HOME}/.ssh/config || ln -s ${HOME}/dotfiles/.ssh/config ${HOME}/.ssh/config
|
@test -L ${HOME}/.ssh/config || ln -s ${HOME}/dotfiles/.ssh/config ${HOME}/.ssh/config
|
||||||
@test -L ${HOME}/.gitconfig || ln -s ${HOME}/dotfiles/.gitconfig ${HOME}/.gitconfig
|
@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}/.gitignore || ln -s ${HOME}/dotfiles/.gitignore ${HOME}/.gitignore
|
||||||
@test -L ${HOME}/.tmux.conf || ln -s ${HOME}/dotfiles/.tmux.conf ${HOME}/.tmux.conf
|
@test -L ${HOME}/.tmux.conf || ln -s ${HOME}/dotfiles/.tmux.conf ${HOME}/.tmux.conf
|
||||||
|
|
||||||
|
softlinks-non-server: dependencies-nonserver
|
||||||
|
@test -L ${HOME}/.abcde.conf || ln -s ${HOME}/dotfiles/.abcde.config ${HOME}/.abcde.conf
|
||||||
|
@test -L ${HOME}/.crawlrc || ln -s ${HOME}/dotfiles/.crawlrc ${HOME}/.crawlrc
|
||||||
|
@test -L ${HOME}/.dosbox || ln -s ${HOME}/dotfiles/.dosbox ${HOME}/.dosbox
|
||||||
|
@test -L ${HOME}/.conkyrc || ln -s ${HOME}/dotfiles/.conkyrc ${HOME}/.conkyrc
|
||||||
|
|
||||||
gitconfig: dependencies softlinks
|
gitconfig: dependencies softlinks
|
||||||
git config --global user.name "${USER} (${HOST})"
|
git config --global user.name "${USER} (${HOST})"
|
||||||
git config --global user.email chawley@planethawleywood.com
|
git config --global user.email chawley@planethawleywood.com
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
sudo apt install mutt
|
sudo apt install mutt || sudo yum install mutt
|
||||||
sudo apt install tmux
|
sudo apt install tmux || sudo yum install tmux
|
||||||
sudo apt install elinks
|
sudo apt install elinks || sudo yum install elinks
|
||||||
sudo apt install irssi
|
sudo apt install irssi || sudo yum install irssi
|
||||||
sudo apt install git
|
sudo apt install git || sudo yum install git
|
||||||
sudo apt install abcde
|
|
||||||
sudo apt install dosbox
|
dependencies-non-server: dependencies
|
||||||
sudo apt install conky
|
sudo apt install abcde || sudo yum install abcde
|
||||||
|
sudo apt install dosbox || sudo yum install dosbox
|
||||||
|
sudo apt install conky || sudo yum install conky
|
||||||
|
|
||||||
mkdirs:
|
mkdirs:
|
||||||
mkdir -p ${HOME}/bin
|
mkdir -p ${HOME}/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user