aboutsummaryrefslogtreecommitdiffstats
path: root/mate-settings-daemon/Makefile
blob: 6a335d897310b703dce278971459aa4bb9d1d5a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.POSIX:

install:
	test ! -e ~/.local/bin/mate-settings-daemon || test -L ~/.local/bin/mate-settings-daemon
	if test -f /usr/libexec/mate-settings-daemon; then \
		ln -sf /usr/libexec/mate-settings-daemon ~/.local/bin/mate-settings-daemon; \
	elif test -f /usr/lib/mate-settings-daemon/mate-settings-daemon; then \
		ln -sf /usr/lib/mate-settings-daemon/mate-settings-daemon ~/.local/bin/mate-settings-daemon; \
	elif test -f /usr/lib/mate-settings-daemon; then \
		ln -sf /usr/lib/mate-settings-daemon ~/.local/bin/mate-settings-daemon; \
	else \
		rm -f -- ~/.local/bin/mate-settings-daemon 2>/dev/null; \
	fi

uninstall:
	+! ../check-installed mate-settings-daemon
	-unlink -- ~/.local/bin/mate-settings-daemon