From 572fc2d3441ff5ddbf361b2e815910d79fa4f66d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 28 May 2018 17:49:54 +0200 Subject: debian: Add libosmoctrl-doc sub-package This fixes the debian package builds for libosmocore.git Change-Id: I454e3c0175ab5a89e8925e036a3644299367df0f --- debian/control | 15 +++++++++++++++ debian/libosmoctrl-doc.doc-base | 7 +++++++ debian/libosmoctrl-doc.install | 1 + debian/rules | 1 + 4 files changed, 24 insertions(+) create mode 100644 debian/libosmoctrl-doc.doc-base create mode 100644 debian/libosmoctrl-doc.install (limited to 'debian') 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/ -- cgit v1.2.3