Commit 3d760cea authored by Nelso Jost's avatar Nelso Jost

NEW: make debian tested on debian 8 jessie ok

parent 95c479c6
all: install-basic install-neovim-ubuntu install-vimplug-nvim setup
all: help
install-basic:
ubuntu: basic pip setup ubuntu-neovim
debian: debian-sources debian-firmware debian-fonts \
basic pip setup debian-neovim
basic:
sudo apt-get install vim git tree dialog ctags curl tmux rsync colordiff
$(MAKE) install-pip
install-pip:
pip:
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo python get-pip.py
rm get-pip.py
install-neovim-debian:
sudo cp etc/apt/preferences.d/testing-priority /etc/apt/preferences.d/testing-priority
sudo cp etc/apt/sources.list.d/testing.list /etc/apt/sources.list.d/testing.list
sudo apt-get update || sudo apt-get install -t testing neovim
setup:
rsync -rtv home/ ~/
sudo rsync -rtv etc/default/keyboard /etc/default/keyboard
save:
rsync -rtv --exclude "undo" ~/.config/nvim/ home/.config/nvim/
cp -rfv ~/.bashrc ~/.inputrc ~/.tmux.conf home/
git status
debian-sources:
sudo cp etc/apt/preferences.d/* /etc/apt/preferences.d/
sudo cp etc/apt/sources.list.d/* /etc/apt/sources.list.d/
sudo apt-get update
debian-firmware:
sudo apt-get install firmware-intelwimax firmware-iwlwifi \
firmware-libertas firmware-realtek firmware-linux-nonfree \
libgl1-mesa-dri xserver-xorg-video-ati
debian-fonts:
sudo sh -c 'echo "$$INFINALITY_PPA" > /etc/apt/sources.list.d/infinality-ppa.list'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E985B27B
sudo apt-get update
sudo apt-get install fontconfig-infinality
sudo rm /etc/apt/sources.list.d/infinality-ppa.list
wget http://mirrors.kernel.org/ubuntu/pool/main/u/ubuntu-font-family-sources/ttf-ubuntu-font-family_0.80-0ubuntu6_all.deb
sudo dpkg -i ttf-ubuntu-font-family*.deb
sudo rm ttf-ubuntu-font-family*.deb
debian-neovim:
sudo apt-get install -t testing neovim
sudo pip install neovim
sudo pip3 install neovim
$(MAKE) install-vimplug-nvim
$(MAKE) vimplug-nvim
install-neovim-ubuntu:
ubuntu-neovim:
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update || sudo apt-get install neovim
$(MAKE) install-vimplug-nvim
$(MAKE) vimplug-nvim
install-vimplug-nvim:
vimplug-nvim:
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
setup:
rsync -rtv home/ ~/
nvim +PlugInstall +qall
setup-keyboard:
sudo rsync -rtv etc/default/keyboard /etc/default/keyboard
help:
@ echo "$$HELP_MAKEFILE"
define HELP_MAKEFILE
Usage: make <target> where <target> can be:
debian setup sources.list & install firmware + packages
ubuntu install basic packages
setup setup user home config files
save copy current user config to the repo
endef
export HELP_MAKEFILE
define INFINALITY_PPA
deb http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu trusty main
endef
export INFINALITY_PPA
save:
rsync -rtv --exclude "undo" ~/.config/nvim/ home/.config/nvim/
cp -rfv ~/.bashrc ~/.inputrc ~/.tmux.conf home/
git status
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
deb http://ftp.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.debian.org/debian/ jessie-updates main contrib
deb http://ftp.debian.org/debian/ jessie main contrib non-free
# deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment