blob: 36e542cf84e2ab068d54b969f7cb901db702847c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh -e
export DESTDIR="$1"
mk() {
# No, I actually want to get the output, shellcheck, thank you very much.
# shellcheck disable=2181
make \
PREFIX=/usr \
MANDIR=/usr/share \
DESTDIR="$DESTDIR" \
WAYLAND="$(cpt l wayland >/dev/null 2>&1; printf '%s' "$(($? == 0))")" \
"$@"
}
mk dunst dunstify
mk install
|