From 3b5e136dd6785890f1c8e178cea50bc95dffe660 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Fri, 23 Mar 2012 11:14:08 +0100 Subject: debian: Build the manual page, too. The upstream build system does not build the manual page, so build and install it ourselves. Signed-off-by: Gergely Nagy --- debian/control | 2 +- debian/libumberlog-dev.install | 1 + debian/rules | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 9a69946..7471a90 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: libumberlog Priority: extra Maintainer: Gergely Nagy -Build-Depends: debhelper (>= 9~), dh-autoreconf, libjson0-dev (>= 0.7~) +Build-Depends: debhelper (>= 9~), dh-autoreconf, libjson0-dev (>= 0.7~), python-docutils Standards-Version: 3.9.3 Section: libs Homepage: https://github.com/algernon/libumberlog diff --git a/debian/libumberlog-dev.install b/debian/libumberlog-dev.install index 7df81cd..3450a6a 100644 --- a/debian/libumberlog-dev.install +++ b/debian/libumberlog-dev.install @@ -1,3 +1,4 @@ usr/include/* usr/lib/*/lib*.so usr/lib/*/pkgconfig/* +usr/share/man/man*/* diff --git a/debian/rules b/debian/rules index 512bf39..e3e06d8 100755 --- a/debian/rules +++ b/debian/rules @@ -9,5 +9,10 @@ override_dh_autoreconf: override_dh_installdocs: dh_installdocs --link-doc=libumberlog0 +override_dh_auto_build: + dh_auto_build + install -d debian/tmp/usr/share/man/man3 + rst2man lib/umberlog.rst debian/tmp/usr/share/man/man3/umberlog.3 + %: dh $@ --with autoreconf -- cgit