aboutsummaryrefslogtreecommitdiffstats
path: root/mate-settings-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'mate-settings-daemon')
-rw-r--r--mate-settings-daemon/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/mate-settings-daemon/Makefile b/mate-settings-daemon/Makefile
new file mode 100644
index 0000000..6a335d8
--- /dev/null
+++ b/mate-settings-daemon/Makefile
@@ -0,0 +1,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