From fb0db5d269ff178322dc23ae6c18049f3f8b9772 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Jun 2021 16:42:47 +0200 Subject: Let main Makefile select package manager MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xorg-xinit/Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'xorg-xinit') 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 - pacman -Qq -- dconf /dev/null - pacman -Qq -- xmonad /dev/null - pacman -Qq -- xorg-setxkbmap /dev/null - pacman -Qq -- xorg-xmodmap /dev/null - pacman -Qq -- xorg-xrandr /dev/null - pacman -Qq -- xorg-xrdb /dev/null - pacman -Qq -- xorg-xset /dev/null - pacman -Qq -- xorg-xsetroot /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 -- cgit v1.2.3-70-g09d2