summaryrefslogtreecommitdiff
path: root/distro/pkg/deb
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2021-04-25 03:07:25 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-05-19 17:22:12 +0200
commit5ea3c5bfee6ed24139bc8e82cc35f08c49d6aaff (patch)
tree00cc409965be76860dcdfe6a96f59ef76f2fb981 /distro/pkg/deb
parent81666d2f126b94e99042ed963e45de5a95f63df5 (diff)
Pkg: Enable docs subpackage for Debian
Diffstat (limited to 'distro/pkg/deb')
-rw-r--r--distro/pkg/deb/bird2-doc.docs4
-rw-r--r--distro/pkg/deb/control15
-rwxr-xr-xdistro/pkg/deb/rules1
3 files changed, 20 insertions, 0 deletions
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 <jakub.ruzicka@nic.cz>
Uploaders: Ondřej Surý <ondrej@debian.org>
@@ -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