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 | 4a2dcb46dd64e6cd23463127dbf95c80a2e33eb2 (patch) | |
tree | 6c5db45ee713d7a13230961211e04c955046db0d | |
parent | b33babcedaa032b901aa37aa57da46e6116509f0 (diff) | |
download | unit-4a2dcb46dd64e6cd23463127dbf95c80a2e33eb2.tar.gz unit-4a2dcb46dd64e6cd23463127dbf95c80a2e33eb2.tar.bz2 |
Packages: added man page on debian-based systems.
-rw-r--r-- | pkg/deb/Makefile | 2 | ||||
-rw-r--r-- | pkg/deb/debian/rules.in | 4 |
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 |