aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-xinit/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-25 16:42:47 +0200
committerMattias Andrée <maandree@kth.se>2021-06-25 16:42:47 +0200
commitfb0db5d269ff178322dc23ae6c18049f3f8b9772 (patch)
tree0d716908ea2b33adb4853491e3c5d8a3d9cb6f6b /xorg-xinit/Makefile
parentm (diff)
downloaddotfiles-fb0db5d269ff178322dc23ae6c18049f3f8b9772.tar.gz
dotfiles-fb0db5d269ff178322dc23ae6c18049f3f8b9772.tar.bz2
dotfiles-fb0db5d269ff178322dc23ae6c18049f3f8b9772.tar.xz
Let main Makefile select package manager
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--xorg-xinit/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/xorg-xinit/Makefile b/xorg-xinit/Makefile
index 1c37d2f..0d017d6 100644
--- a/xorg-xinit/Makefile
+++ b/xorg-xinit/Makefile
@@ -1,19 +1,20 @@
.POSIX:
+include ../common.mk
XINITRC_ORDER = 50
# Testing that xmonad is installed because it is the default sessions
# Testing that asroot, xorg-setxkbmap, and xorg-xmodmap are installed because setkeys uses them
install:
- pacman -Qq -- asroot </dev/null >/dev/null
- pacman -Qq -- dconf </dev/null >/dev/null
- pacman -Qq -- xmonad </dev/null >/dev/null
- pacman -Qq -- xorg-setxkbmap </dev/null >/dev/null
- pacman -Qq -- xorg-xmodmap </dev/null >/dev/null
- pacman -Qq -- xorg-xrandr </dev/null >/dev/null
- pacman -Qq -- xorg-xrdb </dev/null >/dev/null
- pacman -Qq -- xorg-xset </dev/null >/dev/null
- pacman -Qq -- xorg-xsetroot </dev/null >/dev/null
+ $(CHECK_INSTALLED) asroot
+ $(CHECK_INSTALLED) dconf
+ $(CHECK_INSTALLED) xmonad
+ $(CHECK_INSTALLED) xorg-setxkbmap
+ $(CHECK_INSTALLED) xorg-xmodmap
+ $(CHECK_INSTALLED) xorg-xrandr
+ $(CHECK_INSTALLED) xorg-xrdb
+ $(CHECK_INSTALLED) xorg-xset
+ $(CHECK_INSTALLED) xorg-xsetroot
mkdir -p -- ~/.config/bash/aliases.d
test ! -d ~/.config/bash/aliases.d/xorg-xinit
ln -sf -- ~/.dotfiles/xorg-xinit/bash-aliases ~/.config/bash/aliases.d/xorg-xinit