]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
man/Makefile-server.am: conditionalize make ceph_selinux manpage
authorNathan Cutler <ncutler@suse.com>
Thu, 1 Oct 2015 18:27:40 +0000 (20:27 +0200)
committerBoris Ranto <branto@redhat.com>
Tue, 6 Oct 2015 16:08:15 +0000 (18:08 +0200)
http://tracker.ceph.com/issues/13353 Fixes: #13353

Modified-by: Boris Ranto <branto@redhat.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in
man/Makefile-server.am

index 6ebf477ffaf4cd976a6a8522d609cdbbb1b57648..194e17ce6220df65a0d3b4095b4a017705cb5da6 100644 (file)
@@ -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
index 6739c44e3221b22919e1ca32b1935a4a79729c19..6387346e060e61ef95be5ae21747da8b9208c8a4 100644 (file)
@@ -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 += \