Pkg: Enable docs subpackage for Debian

This commit is contained in:
Ondrej Zajicek (work) 2021-04-25 03:07:25 +02:00
parent 81666d2f12
commit 5ea3c5bfee
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,4 @@
obj/doc/bird*.html
obj/doc/bird.pdf
obj/doc/prog*.html
obj/doc/prog.pdf

View file

@ -8,9 +8,11 @@ Build-Depends: bison,
libncurses5-dev, libncurses5-dev,
libreadline-dev | libreadline6-dev | libreadline5-dev, libreadline-dev | libreadline6-dev | libreadline5-dev,
libssh-gcrypt-dev, libssh-gcrypt-dev,
linuxdoc-tools-latex,
m4, m4,
opensp, opensp,
quilt, quilt,
texlive-latex-extra,
xsltproc xsltproc
Maintainer: Jakub Ružička <jakub.ruzicka@nic.cz> Maintainer: Jakub Ružička <jakub.ruzicka@nic.cz>
Uploaders: Ondřej Surý <ondrej@debian.org> Uploaders: Ondřej Surý <ondrej@debian.org>
@ -29,6 +31,7 @@ Depends: adduser,
${misc:Depends}, ${misc:Depends},
${shlibs:Depends} ${shlibs:Depends}
Conflicts: bird Conflicts: bird
Suggests: bird2-doc
Description: Internet Routing Daemon Description: Internet Routing Daemon
BIRD is an Internet routing daemon with full support for all the major BIRD is an Internet routing daemon with full support for all the major
routing protocols. It allows redistribution between protocols with a 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 BIRD supports IPv4 and IPv6 versions of OSPF, RIP, BGP and Babel routing
protocols. It also supports supplementary protocols like BFD, RPKI-Router protocols. It also supports supplementary protocols like BFD, RPKI-Router
and IPv6 router advertisements. 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.

View file

@ -25,6 +25,7 @@ override_dh_auto_configure:
override_dh_auto_build: override_dh_auto_build:
dh_auto_build dh_auto_build
dh_auto_build -- docs
override_dh_auto_install: override_dh_auto_install:
dh_auto_install --destdir=debian/tmp dh_auto_install --destdir=debian/tmp