summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/unit.spec.in
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2021-03-24 18:45:45 +0300
committerKonstantin Pavlov <thresh@nginx.com>2021-03-24 18:45:45 +0300
commitd62192738f2db9e22e1357daa7b7dccdce3c783f (patch)
treed9820282e9c883eeb6bb0edcbf1344ed06e3a438 /pkg/rpm/unit.spec.in
parent4a2dcb46dd64e6cd23463127dbf95c80a2e33eb2 (diff)
downloadunit-d62192738f2db9e22e1357daa7b7dccdce3c783f.tar.gz
unit-d62192738f2db9e22e1357daa7b7dccdce3c783f.tar.bz2
Packages: added man page on rpm-based systems.
Diffstat (limited to 'pkg/rpm/unit.spec.in')
-rw-r--r--pkg/rpm/unit.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in
index 08db73e2..3a148b9d 100644
--- a/pkg/rpm/unit.spec.in
+++ b/pkg/rpm/unit.spec.in
@@ -98,7 +98,7 @@ Library and include files required for NGINX Unit modules development.
%install
%{__rm} -rf %{buildroot}
%{__ln_s} build-nodebug build
-DESTDIR=%{buildroot} make unitd-install libunit-install
+DESTDIR=%{buildroot} make unitd-install libunit-install manpage-install
%{__install} -m755 %{bdir}/build-debug/unitd \
%{buildroot}%{_sbindir}/unitd-debug
%{__install} -m644 %{bdir}/build-debug/libunit.a \
@@ -205,6 +205,7 @@ BANNER
%dir %{_sharedstatedir}/unit
%dir %attr(0700,root,root) %{_localstatedir}/log/unit
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+%{_mandir}/man8/unitd.8*
%files devel
%{_libdir}/libunit.a