diff options
authorMax <msuraev@sysmocom.de>2017-06-27 13:51:02 +0200
committerMax <msuraev@sysmocom.de>2017-06-27 13:57:56 +0200
commit70861e33d2c9c65fec19c7ec8328cad67a74e3f4 (patch)
parent52a881e98a77ec939bdeddadbba9d47e7a7ec32e (diff)
deb: fix build by adding libosmogb doc package
4 files changed, 24 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 9b3761b3..b19448e1 100644
--- a/debian/control
+++ b/debian/control
@@ -162,6 +162,21 @@ Description: Osmo GPRS GB library
The libosmogb library in particular contains a GPRS BSSGP protocol
+Package: libosmogb-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ libosmogb4,
+ libjs-jquery
+Description: Documentation for the Osmo GPRS Gb 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 libosmogb library.
Package: libosmogsm7
Section: libs
Architecture: any
diff --git a/debian/libosmogb-doc.doc-base b/debian/libosmogb-doc.doc-base
new file mode 100644
index 00000000..f690318e
--- /dev/null
+++ b/debian/libosmogb-doc.doc-base
@@ -0,0 +1,7 @@
+Document: libosmogb-doc
+Title: Documentation for the libosmogb library
+Section: Programming
+Format: HTML
+Index: /usr/share/doc/libosmocore/gb/html/index.html
+Files: /usr/share/doc/libosmocore/gb/html/*.html
diff --git a/debian/libosmogb-doc.install b/debian/libosmogb-doc.install
new file mode 100644
index 00000000..957c82c9
--- /dev/null
+++ b/debian/libosmogb-doc.install
@@ -0,0 +1 @@
diff --git a/debian/rules b/debian/rules
index e1735102..2399b01f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,5 +53,6 @@ override_dh_clean:
$(RM) -r doc/codec/
$(RM) -r doc/core/
$(RM) -r doc/gsm/
+ $(RM) -r doc/gb/
$(RM) -r doc/vty/html/
$(RM) -r doc/vty/latex/