diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2021-03-24 18:45:45 +0300 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2021-03-24 18:45:45 +0300 |
commit | d62192738f2db9e22e1357daa7b7dccdce3c783f (patch) | |
tree | d9820282e9c883eeb6bb0edcbf1344ed06e3a438 /pkg | |
parent | 4a2dcb46dd64e6cd23463127dbf95c80a2e33eb2 (diff) | |
download | unit-d62192738f2db9e22e1357daa7b7dccdce3c783f.tar.gz unit-d62192738f2db9e22e1357daa7b7dccdce3c783f.tar.bz2 |
Packages: added man page on rpm-based systems.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/rpm/Makefile | 2 | ||||
-rw-r--r-- | pkg/rpm/unit.spec.in | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile index f0bd0cf9..75327c49 100644 --- a/pkg/rpm/Makefile +++ b/pkg/rpm/Makefile @@ -214,7 +214,7 @@ endif rpmbuild/SOURCES/unit-$(VERSION).tar.gz: cd ../.. && tar -czf pkg/rpm/rpmbuild/SOURCES/unit-$(VERSION).tar.gz \ --transform "s#^#unit-$(VERSION)/#" \ - LICENSE NOTICE CHANGES README configure auto src test version go + LICENSE NOTICE CHANGES README configure auto src test version go docs/man/unitd.8.in unit: check-build-depends-unit rpmbuild/SPECS/unit.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz @echo "===> Building $@ package" ; \ 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 |