From: Nathan Cutler Date: Thu, 1 Oct 2015 18:27:40 +0000 (+0200) Subject: man/Makefile-server.am: conditionalize make ceph_selinux manpage X-Git-Tag: v9.1.0~6^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=378d56d1e2b917008194a90dcbf9d092054523dc;p=ceph.git man/Makefile-server.am: conditionalize make ceph_selinux manpage http://tracker.ceph.com/issues/13353 Fixes: #13353 Modified-by: Boris Ranto Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index 6ebf477ffaf4..194e17ce6220 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1126,7 +1126,7 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1 %defattr(-,root,root,-) %attr(0600,root,root) %{_datadir}/selinux/packages/ceph.pp %{_datadir}/selinux/devel/include/contrib/ceph.if -%{_mandir}/man8/ceph_selinux.8.* +%{_mandir}/man8/ceph_selinux.8* %post selinux # Install the policy diff --git a/man/Makefile-server.am b/man/Makefile-server.am index 6739c44e3221..6387346e060e 100644 --- a/man/Makefile-server.am +++ b/man/Makefile-server.am @@ -5,8 +5,12 @@ dist_man_MANS += \ mount.ceph.8 \ ceph-create-keys.8 \ ceph-rest-api.8 \ - ceph-debugpack.8 \ + ceph-debugpack.8 + +if WITH_SELINUX +dist_man_MANS += \ ceph_selinux.8 +endif if WITH_MON dist_man_MANS += \