summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/deb')
-rw-r--r--pkg/deb/Makefile2
-rw-r--r--pkg/deb/debian/rules.in4
2 files changed, 3 insertions, 3 deletions
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