Makefile: add genius and few improvment
This commit is contained in:
parent
680595f341
commit
78dcd28e98
12
Makefile
12
Makefile
@ -4,7 +4,7 @@ DOT_FILES=$(filter-out $(IGNORE_DOT_FILES), $(wildcard .*))
|
|||||||
DOT_INSTALLED=$(foreach dot, $(DOT_FILES), $(HOME)/$(dot))
|
DOT_INSTALLED=$(foreach dot, $(DOT_FILES), $(HOME)/$(dot))
|
||||||
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
|
|
||||||
PKG_ARCH_BASE=aspell-en aspell-fr conky cscope ctags dunst eog firefox noto-fonts-emoji fzf git gmrun gnome-terminal gvim hunspell-fr hyphen-en hyphen-fr lightdm numlockx openssh polkit-gnome python3 sudo tint2 tmux unrar unzip udevil zsh
|
PKG_ARCH_BASE=aspell-en aspell-fr conky cscope ctags dunst eog firefox noto-fonts-emoji fzf git gmrun gnome-terminal genius gvim hunspell-fr hyphen-en hyphen-fr lightdm numlockx openssh polkit-gnome python3 sudo tint2 tmux unrar unzip udevil zsh
|
||||||
PKG_ARCH_DEV=autopep8 bear cppcheck clang flake8 gcc hstr shellcheck strace
|
PKG_ARCH_DEV=autopep8 bear cppcheck clang flake8 gcc hstr shellcheck strace
|
||||||
|
|
||||||
ifeq ($(USER), root)
|
ifeq ($(USER), root)
|
||||||
@ -13,20 +13,24 @@ $(info Put youself in wheel group and add \"%wheel ALL=(ALL) NOPASSWD: ALL\" to
|
|||||||
$(error Should not be run as root)
|
$(error Should not be run as root)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all:$(DOT_INSTALLED)
|
all: conf
|
||||||
|
|
||||||
|
conf:$(DOT_INSTALLED)
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
|
|
||||||
arch_all:$(DOT_INSTALLED) arch_install_base arch_install_dev udevil_install
|
%_all: conf %_install_base %_install_dev udevil_install
|
||||||
git submodule update --init
|
vim -c :PluginInstall -c :xa
|
||||||
|
|
||||||
$(HOME)/%: $(ROOT_DIR)/%
|
$(HOME)/%: $(ROOT_DIR)/%
|
||||||
$(MSG)echo "installing $@"
|
$(MSG)echo "installing $@"
|
||||||
$(MSG)ln -s $< $@
|
$(MSG)ln -s $< $@
|
||||||
|
|
||||||
|
.ONESHELL:
|
||||||
/usr/bin/yay:
|
/usr/bin/yay:
|
||||||
sudo pacman -Sy --needed git base-devel
|
sudo pacman -Sy --needed git base-devel
|
||||||
git clone https://aur.archlinux.org/yay.git
|
git clone https://aur.archlinux.org/yay.git
|
||||||
cd yay && makepkg -s -i
|
cd yay && makepkg -s -i
|
||||||
|
cd ..
|
||||||
rm -rf yay
|
rm -rf yay
|
||||||
|
|
||||||
arch_install_base: /usr/bin/yay
|
arch_install_base: /usr/bin/yay
|
||||||
|
Loading…
Reference in New Issue
Block a user