aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-05-28 17:49:54 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-28 17:55:51 +0200
commit572fc2d3441ff5ddbf361b2e815910d79fa4f66d (patch)
tree88c4509aeb8288c429a1641e9c8e7333fe7fef36
parent05d3278c0e9638c0ea625edf8deaca0d435c9d0a (diff)
debian: Add libosmoctrl-doc sub-package
This fixes the debian package builds for libosmocore.git Change-Id: I454e3c0175ab5a89e8925e036a3644299367df0f
-rw-r--r--debian/control15
-rw-r--r--debian/libosmoctrl-doc.doc-base7
-rw-r--r--debian/libosmoctrl-doc.install1
-rwxr-xr-xdebian/rules1
4 files changed, 24 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 912582b0..1de0ceb2 100644
--- a/debian/control
+++ b/debian/control
@@ -261,6 +261,21 @@ Description: Osmo control library
.
The libosmoctrl library in particular contains an SNMP-like status interface.
+Package: libosmoctrl-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ libosmoctrl0,
+ libjs-jquery
+Description: Documentation for the Osmocom CTRL library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ This package contains the documentation for the libosmoctrl library.
+
Package: libosmosim0
Section: libs
Architecture: any
diff --git a/debian/libosmoctrl-doc.doc-base b/debian/libosmoctrl-doc.doc-base
new file mode 100644
index 00000000..173d157e
--- /dev/null
+++ b/debian/libosmoctrl-doc.doc-base
@@ -0,0 +1,7 @@
+Document: libosmoctrl-doc
+Title: Documentation for the libosmoctrl library
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libosmocore/ctrl/html/index.html
+Files: /usr/share/doc/libosmocore/ctrl/html/*.html
diff --git a/debian/libosmoctrl-doc.install b/debian/libosmoctrl-doc.install
new file mode 100644
index 00000000..c7afaf1d
--- /dev/null
+++ b/debian/libosmoctrl-doc.install
@@ -0,0 +1 @@
+usr/share/doc/libosmocore/ctrl/
diff --git a/debian/rules b/debian/rules
index 2399b01f..6eb7346c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,6 +52,7 @@ override_dh_clean:
$(RM) tests/testsuite
$(RM) -r doc/codec/
$(RM) -r doc/core/
+ $(RM) -r doc/ctrl/
$(RM) -r doc/gsm/
$(RM) -r doc/gb/
$(RM) -r doc/vty/html/