debian: Add libosmoctrl-doc sub-package

This fixes the debian package builds for libosmocore.git

Change-Id: I454e3c0175ab5a89e8925e036a3644299367df0f
This commit is contained in:
Harald Welte 2018-05-28 17:49:54 +02:00
parent 05d3278c0e
commit 572fc2d344
4 changed files with 24 additions and 0 deletions

15
debian/control vendored
View File

@ -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

7
debian/libosmoctrl-doc.doc-base vendored Normal file
View File

@ -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

1
debian/libosmoctrl-doc.install vendored Normal file
View File

@ -0,0 +1 @@
usr/share/doc/libosmocore/ctrl/

1
debian/rules vendored
View File

@ -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/