From 5ea3c5bfee6ed24139bc8e82cc35f08c49d6aaff Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Sun, 25 Apr 2021 03:07:25 +0200 Subject: Pkg: Enable docs subpackage for Debian --- distro/pkg/deb/bird2-doc.docs | 4 ++++ distro/pkg/deb/control | 15 +++++++++++++++ distro/pkg/deb/rules | 1 + 3 files changed, 20 insertions(+) create mode 100644 distro/pkg/deb/bird2-doc.docs (limited to 'distro/pkg/deb') diff --git a/distro/pkg/deb/bird2-doc.docs b/distro/pkg/deb/bird2-doc.docs new file mode 100644 index 00000000..4c0c6465 --- /dev/null +++ b/distro/pkg/deb/bird2-doc.docs @@ -0,0 +1,4 @@ +obj/doc/bird*.html +obj/doc/bird.pdf +obj/doc/prog*.html +obj/doc/prog.pdf diff --git a/distro/pkg/deb/control b/distro/pkg/deb/control index 5ea624b3..d431022b 100644 --- a/distro/pkg/deb/control +++ b/distro/pkg/deb/control @@ -8,9 +8,11 @@ Build-Depends: bison, libncurses5-dev, libreadline-dev | libreadline6-dev | libreadline5-dev, libssh-gcrypt-dev, + linuxdoc-tools-latex, m4, opensp, quilt, + texlive-latex-extra, xsltproc Maintainer: Jakub Ružička Uploaders: Ondřej Surý @@ -29,6 +31,7 @@ Depends: adduser, ${misc:Depends}, ${shlibs:Depends} Conflicts: bird +Suggests: bird2-doc Description: Internet Routing Daemon BIRD is an Internet routing daemon with full support for all the major routing protocols. It allows redistribution between protocols with a @@ -38,3 +41,15 @@ Description: Internet Routing Daemon BIRD supports IPv4 and IPv6 versions of OSPF, RIP, BGP and Babel routing protocols. It also supports supplementary protocols like BFD, RPKI-Router and IPv6 router advertisements. + +Package: bird2-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Description: Internet Routing Daemon - documentation + BIRD is an Internet routing daemon with full support for all the major + routing protocols. It allows redistribution between protocols with a + powerful route filtering syntax and an easy-to-use configuration + interface. + . + This package provides the user and developer documentation. diff --git a/distro/pkg/deb/rules b/distro/pkg/deb/rules index 5b66d493..5630ed1c 100755 --- a/distro/pkg/deb/rules +++ b/distro/pkg/deb/rules @@ -25,6 +25,7 @@ override_dh_auto_configure: override_dh_auto_build: dh_auto_build + dh_auto_build -- docs override_dh_auto_install: dh_auto_install --destdir=debian/tmp -- cgit v1.2.3