aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Son Struschka <me@peter-struschka.com>2019-05-11 15:53:16 +0700
committerPeter Son Struschka <me@peter-struschka.com>2019-05-11 15:53:16 +0700
commit5bca040f13556d13b80a91a43b0b88ca9c21b218 (patch)
treeefdc704586f382f4bdb2baa2cc6f4f353b717f1d /Makefile
parentc4f5fd984a863aa284de476e3ef6515affa7eb49 (diff)
downloaddotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.gz
dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.bz2
dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.lz
dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.xz
dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.zst
dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.zip
update makefile and configs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a34737e..ed04fc8 100644
--- a/Makefile
+++ b/Makefile
@@ -7,13 +7,19 @@ clean: uninstall_emacs uninstall_spacemacs \
.PHONY: emacs spacemacs git i3wm vim x zsh fish basics
+basics: yay
+ yay -Q - < meta/basic_deps || yay -S --needed - < meta/basic_deps
+ stow -t ~ basics
+
emacs:
stow -t ~ emacs
spacemacs:
stow -t ~ spacemacs
git:
+ pacman -Q git || sudo pacman -S git
stow -t ~ git
-i3wm:
+i3wm: yay
+ pacman -Q - < meta/i3wm_deps || sudo yay -S --needed - < meta/i3wm_deps
stow -t ~ i3wm
vim:
stow -t ~ vim
@@ -23,8 +29,9 @@ zsh:
stow -t ~ zsh
fish:
stow -t ~ fish
-basics:
- stow -t ~ basics
+
+yay: git
+ pacman -Q yay || (git clone aur:yay && pushd yay && makepkg -si && popd)
uninstall_emacs:
stow -Dt ~ emacs