aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-01-19 17:50:13 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-01-19 19:34:58 +0100
commit3ca143c267d9f630fb8c761018b33759922023e7 (patch)
treec86ca74d96bfa663e49496912b64ae954e46c3ac
parenteca5dc02bd10867703c04a900a9a2cdf2494a4f1 (diff)
downloadbird-3ca143c267d9f630fb8c761018b33759922023e7.tar.gz
Add BIRD documentation package
-rw-r--r--debian/bird2-doc.docs4
-rw-r--r--debian/control13
-rwxr-xr-xdebian/rules5
3 files changed, 20 insertions, 2 deletions
diff --git a/debian/bird2-doc.docs b/debian/bird2-doc.docs
new file mode 100644
index 00000000..4c0c6465
--- /dev/null
+++ b/debian/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/debian/control b/debian/control
index 7ff64c66..16bc077e 100644
--- a/debian/control
+++ b/debian/control
@@ -31,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
@@ -40,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/debian/rules b/debian/rules
index cbb13eaa..730f168f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,8 +23,9 @@ LDFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fPIC -Wl,-z,defs -W
override_dh_auto_configure:
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" dh_auto_configure -- $(COMMON_FLAGS) --with-protocols=all
-override_dh_auto_clean:
- dh_auto_clean
+override_dh_auto_build:
+ dh_auto_build
+ dh_auto_build -- docs
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp