summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/