debian: Build manpage using help2man.

This commit is contained in:
Christoph Berg 2018-07-03 17:11:15 +02:00
parent b4fae61d41
commit 906fd96bf1
4 changed files with 17 additions and 2 deletions

5
debian/changelog vendored
View File

@ -1,4 +1,4 @@
pgloader (3.5.1-1) UNRELEASED; urgency=medium
pgloader (3.5.2-1) unstable; urgency=medium
* New upstream version.
* All included test data has been verified as free, stop building a +dfsg
@ -8,11 +8,12 @@ pgloader (3.5.1-1) UNRELEASED; urgency=medium
* Add new B-D cl-mustache, cl-yason, cl-zs3, sync Depends to cl-pgloader.
* Depend on the libssl version cl-plus-ssl depends on.
* Build and install new sphinx docs instead.
* Build manpage using help2man.
* Priority: optional, move cl-pgloader to Section: lisp.
* Update S-V.
* Add watch file.
-- Christoph Berg <myon@debian.org> Sat, 11 Nov 2017 16:39:08 +0100
-- Christoph Berg <christoph.berg@credativ.de> Tue, 03 Jul 2018 16:59:07 +0200
pgloader (3.4.1+dfsg-1) unstable; urgency=medium

1
debian/control vendored
View File

@ -47,6 +47,7 @@ Build-Depends:
cl-zs3,
debhelper (>= 9.0.0),
gawk,
help2man,
python3-sphinx,
sbcl (>= 1.1.13),
tzdata,

10
debian/rules vendored
View File

@ -1,5 +1,7 @@
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
# make pgloader depend on the libssl package cl-plus-ssl depends on
LIBSSL := $(shell dpkg-query --showformat='$${Depends}' --show cl-plus-ssl | grep -o 'libssl[^ ]*')
@ -42,6 +44,14 @@ override_dh_auto_test:
override_dh_strip:
# do nothing
override_dh_installman:
mkdir -p debian/pgloader/usr/share/man/man1/
help2man --version-string $(DEB_VERSION_UPSTREAM) \
--no-info \
--name "extract, transform and load data into PostgreSQL" \
debian/pgloader/usr/bin/pgloader > \
debian/pgloader/usr/share/man/man1/pgloader.1
override_dh_gencontrol:
dh_gencontrol -- -V"ssl:Depends=$(LIBSSL)"

3
debian/source/lintian-overrides vendored Normal file
View File

@ -0,0 +1,3 @@
# don't bug people uploading from @work
source: changelog-should-mention-nmu
source: source-nmu-has-incorrect-version-number