summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2023-04-24 17:59:34 +0200
committerAlejandro Colomar <alx@nginx.com>2023-05-08 17:47:26 +0200
commit1266eda80c2f3b67d50b13d88d1ea51729eab772 (patch)
tree5424b797f8db1bb7cd642665e94a557e9044b728
parent86a701abe0ca0ac1449976295fe28ea82d6c1f8c (diff)
downloadunit-1266eda80c2f3b67d50b13d88d1ea51729eab772.tar.gz
unit-1266eda80c2f3b67d50b13d88d1ea51729eab772.tar.bz2
Docs: moved uintd.8 to man8/ subdirectory.
Reviewed-by: Artem Konev <a.konev@f5.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
-rw-r--r--auto/make4
-rw-r--r--docs/man/man8/unitd.8.in (renamed from docs/man/unitd.8.in)0
-rw-r--r--pkg/deb/Makefile2
-rw-r--r--pkg/deb/debian/rules.in4
-rw-r--r--pkg/rpm/Makefile2
5 files changed, 6 insertions, 6 deletions
diff --git a/auto/make b/auto/make
index 0890b0c3..ecf31826 100644
--- a/auto/make
+++ b/auto/make
@@ -305,12 +305,12 @@ END
cat << END >> $NXT_MAKEFILE
-$NXT_BUILD_DIR/share/man/man8/unitd.8: docs/man/unitd.8.in \\
+$NXT_BUILD_DIR/share/man/man8/unitd.8: docs/man/man8/unitd.8.in \\
$NXT_BUILD_DIR/include/nxt_auto_config.h
sed -e "s|%%ERROR_LOG_PATH%%|$NXT_LOG|" \\
-e "s|%%PID_PATH%%|$NXT_PID|" \\
-e "s|%%SOCKET_PATH%%|$NXT_CONTROL|" \\
- < docs/man/unitd.8.in > \$@
+ < docs/man/man8/unitd.8.in > \$@
END
diff --git a/docs/man/unitd.8.in b/docs/man/man8/unitd.8.in
index 46182781..46182781 100644
--- a/docs/man/unitd.8.in
+++ b/docs/man/man8/unitd.8.in
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index c7c36bf7..575a0984 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -200,7 +200,7 @@ debuild/unit_$(VERSION).orig.tar.gz: | debuild/$(SRCDIR)/debian
cd ../.. && tar -czf pkg/deb/debuild/$(SRCDIR).tar.gz \
--transform "s#^#$(SRCDIR)/#" \
LICENSE NOTICE CHANGES README.md CONTRIBUTING.md configure auto src \
- test tools version go pkg/contrib docs/man/unitd.8.in
+ test tools version go pkg/contrib docs/man/man8/unitd.8.in
mv debuild/$(SRCDIR).tar.gz debuild/unit_$(VERSION).orig.tar.gz
cd debuild && tar zxf unit_$(VERSION).orig.tar.gz
diff --git a/pkg/deb/debian/rules.in b/pkg/deb/debian/rules.in
index 46286e83..0d7cf830 100644
--- a/pkg/deb/debian/rules.in
+++ b/pkg/deb/debian/rules.in
@@ -40,8 +40,8 @@ config.env.%: njs
cp -Pa $(CURDIR)/README.md $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/CONTRIBUTING.md $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/go $(BUILDDIR_$*)/
- mkdir -p $(BUILDDIR_$*)/docs/man
- cp -Pa $(CURDIR)/docs/man/unitd.8.in $(BUILDDIR_$*)/docs/man/
+ mkdir -p $(BUILDDIR_$*)/docs/man/man8
+ cp -Pa $(CURDIR)/docs/man/man8/unitd.8.in $(BUILDDIR_$*)/docs/man/man8/
touch $@
configure.unit: config.env.unit
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile
index 584f2d3a..d3cc34bd 100644
--- a/pkg/rpm/Makefile
+++ b/pkg/rpm/Makefile
@@ -193,7 +193,7 @@ 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.md CONTRIBUTING.md configure auto src \
- test tools version go pkg/contrib docs/man/unitd.8.in
+ test tools version go pkg/contrib docs/man/man8/unitd.8.in
unit: check-build-depends-unit rpmbuild/SPECS/unit.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz
@echo "===> Building $@ package" ; \