summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-05 16:27:38 -0500
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-02-05 22:27:38 +0100
commitd20a328f97ae3709342f6176e6e54ee12e26f321 (patch)
treeedc33d57098c14404af9cc880d4a783cc85f81c7 /Makefile.am
parent1b52793d5d597e62c8e35009baca165f1408687e (diff)
build-sys,man: describe systemd-umount and hook it up to installation (#5227)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c87c547e05..9a435e3a66 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -673,6 +673,15 @@ EXTRA_DIST += \
@INTLTOOL_POLICY_RULE@
+systemd-mount-install-hook:
+ -$(LN_S) systemd-mount $(DESTDIR)$(bindir)/systemd-umount
+
+systemd-mount-uninstall-hook:
+ -rm $(DESTDIR)$(bindir)/systemd-umount
+
+INSTALL_EXEC_HOOKS += systemd-mount-install-hook
+UNINSTALL_EXEC_HOOKS += systemd-mount-uninstall-hook
+
# ------------------------------------------------------------------------------
MANPAGES =