From d51167c6268d11f02c2676693a8e9dc1b628cdbb Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 4 Mar 2013 23:20:16 +0100 Subject: build-sys: build and install systemd-coredumpctl conditionally If coredump support is disabled via --disable-coredump, do not build and install the systemd-coredumpctl binary and man page. --- Makefile-man.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile-man.am') diff --git a/Makefile-man.am b/Makefile-man.am index e095c3e765..8d48ee05ef 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -50,7 +50,6 @@ MANPAGES += \ man/systemd-cat.1 \ man/systemd-cgls.1 \ man/systemd-cgtop.1 \ - man/systemd-coredumpctl.1 \ man/systemd-delta.1 \ man/systemd-detect-virt.1 \ man/systemd-fsck@.service.8 \ @@ -303,6 +302,14 @@ MANPAGES_ALIAS += \ endif +if ENABLE_COREDUMP +MANPAGES += \ + man/systemd-coredumpctl.1 +MANPAGES_ALIAS += \ + # + +endif + if ENABLE_HOSTNAMED MANPAGES += \ man/hostnamectl.1 \ -- cgit v1.2.3-54-g00ecf