]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Pkg: Enable docs subpackage for Debian
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 25 Apr 2021 01:07:25 +0000 (03:07 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 19 May 2021 15:22:12 +0000 (17:22 +0200)
distro/pkg/deb/bird2-doc.docs [new file with mode: 0644]
distro/pkg/deb/control
distro/pkg/deb/rules

diff --git a/distro/pkg/deb/bird2-doc.docs b/distro/pkg/deb/bird2-doc.docs
new file mode 100644 (file)
index 0000000..4c0c646
--- /dev/null
@@ -0,0 +1,4 @@
+obj/doc/bird*.html
+obj/doc/bird.pdf
+obj/doc/prog*.html
+obj/doc/prog.pdf
index 5ea624b347670bb7fbfd2ebb8ed05bd47059b5f6..d431022b1f4958c5f706fdfdca8dca869f81e2ca 100644 (file)
@@ -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.
index 5b66d493233090e1605bb96b24c598ac77d7d208..5630ed1c48668c18efb563dc901741522f0d4715 100755 (executable)
@@ -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