summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--pkg/deb/Makefile2
-rw-r--r--pkg/deb/debian/rules.in4
2 files changed, 4 insertions, 2 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index 16e73b94..8c33fc53 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -227,7 +227,7 @@ endif
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 configure auto src test version go
+ LICENSE NOTICE CHANGES README configure auto src test version go docs/man/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 aa7921d1..c7a56b6b 100644
--- a/pkg/deb/debian/rules.in
+++ b/pkg/deb/debian/rules.in
@@ -33,6 +33,8 @@ config.env.%:
cp -Pa $(CURDIR)/NOTICE $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/README $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/go $(BUILDDIR_$*)/
+ mkdir -p $(BUILDDIR_$*)/docs/man
+ cp -Pa $(CURDIR)/docs/man/unitd.8.in $(BUILDDIR_$*)/docs/man/
touch $@
configure.unit: config.env.unit
@@ -117,7 +119,7 @@ binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
- dh_installchangelogs
+ dh_installchangelogs
dh_link
dh_strip --dbg-package=unit-dbg
dh_shlibdeps