aboutsummaryrefslogtreecommitdiffstats
path: root/xwallpaper/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 /xwallpaper/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 'xwallpaper/Makefile')
-rw-r--r--xwallpaper/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/xwallpaper/Makefile b/xwallpaper/Makefile
index 1d7f330..739ab7c 100644
--- a/xwallpaper/Makefile
+++ b/xwallpaper/Makefile
@@ -1,12 +1,13 @@
.POSIX:
+include ../common.mk
XINITRC_ORDER = 20
install:
- pacman -Qq -- xcman </dev/null >/dev/null
- pacman -Qq -- pdeath </dev/null >/dev/null
- pacman -Qq -- mate-panel </dev/null >/dev/null
- -pacman -Qq -- mate-settings-daemon </dev/null >/dev/null
+ $(CHECK_INSTALLED) xcman
+ $(CHECK_INSTALLED) pdeath
+ $(CHECK_INSTALLED) mate-panel
+ -$(CHECK_INSTALLED) mate-settings-daemon
mkdir -p -- ~/.config/X11/xinit/xinitrc.d
test ! -d ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xwallpaper
ln -sf -- ~/.dotfiles/xwallpaper/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-xwallpaper