[Pkg-voip-commits] [janus] 17/37: Build and ship documentation.

Jonas Smedegaard dr at jones.dk
Mon Mar 13 19:14:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository janus.

commit 8ae117290e4069a7d62cb701a592736ca3be6812
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Mar 12 17:11:59 2017 +0100

    Build and ship documentation.
---
 debian/control        | 17 +++++++++++++++++
 debian/janus-doc.docs |  1 +
 debian/rules          |  3 +++
 3 files changed, 21 insertions(+)

diff --git a/debian/control b/debian/control
index 7a6d2aa..49b5718 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,9 @@ Build-Depends:
  libwebsockets-dev (>> 1.3),
  pkg-config,
  rename,
+Build-Depends-Indep:
+ doxygen,
+ graphviz,
 Standards-Version: 3.9.8
 Homepage: http://janus.conf.meetecho.com
 
@@ -36,6 +39,8 @@ Depends:
  lsb-base (>= 3.0-6),
  ${misc:Depends},
  ${shlibs:Depends},
+Suggests:
+ janus-doc,
 Description: general purpose WebRTC gateway
  Janus is a general purpose WebRTC Gateway with a minimal footprint.
  .
@@ -55,7 +60,19 @@ Architecture: any
 Depends:
  janus (=${binary:Version}),
  ${misc:Depends},
+Suggests:
+ janus-doc,
 Description: general purpose WebRTC gateway - development files
  Janus is a general purpose WebRTC Gateway with a minimal footprint.
  .
  This package contains headers for plugin development.
+
+Package: janus-doc
+Section: doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+Description: Open Source, general purpose, WebRTC gateway - documentation
+ Janus is a general purpose WebRTC Gateway with a minimal footprint.
+ .
+ This package contains the html documentation for Janus.
diff --git a/debian/janus-doc.docs b/debian/janus-doc.docs
new file mode 100644
index 0000000..c9dacea
--- /dev/null
+++ b/debian/janus-doc.docs
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/janus-gateway/janus-gateway-*/html
diff --git a/debian/rules b/debian/rules
index f332ee6..32ff278 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,9 @@ include /usr/share/dpkg/buildflags.mk
 %:
 	dh $@  --with autoreconf --with systemd
 
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-docs
+
 override_dh_install:
 	rename 's/\.sample$$//' debian/tmp/etc/janus/*.sample
 	dh_install -a

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list