Skip to content

Commit

Permalink
man/Makefile-server.am: conditionalize make ceph_selinux manpage
Browse files Browse the repository at this point in the history
http://tracker.ceph.com/issues/13353 Fixes: ceph#13353

Modified-by: Boris Ranto <[email protected]>
Signed-off-by: Nathan Cutler <[email protected]>
  • Loading branch information
smithfarm authored and b-ranto committed Oct 6, 2015
1 parent d0ecb0a commit 378d56d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion man/Makefile-server.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 += \
Expand Down

0 comments on commit 378d56d

Please sign in to comment.