laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/41078?usp=email )

Change subject: debian: add osmocom-bb-doc (user manual)
......................................................................

debian: add osmocom-bb-doc (user manual)

Change-Id: Ib04160287c98814a6f2ae104197abda563bdd5b9
Related: OS#6851
---
M debian/control
A debian/osmocom-bb-doc.install
M debian/rules
3 files changed, 15 insertions(+), 1 deletion(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/debian/control b/debian/control
index 9c0bfcf..0939ca4 100644
--- a/debian/control
+++ b/debian/control
@@ -16,12 +16,20 @@
                libosmo-gprs-rlcmac-dev,
                libosmo-gprs-sm-dev,
                libosmo-gprs-sndcp-dev,
-               libosmogapk-dev
+               libosmogapk-dev,
+               osmo-gsm-manuals-dev (>= 1.6.0)
 Standards-Version: 4.1.4
 Vcs-Browser: https://gitea.osmocom.org/phone-side/osmocom-bb
 Vcs-Git: https://gerrit.osmocom.org/osmocom-bb
 Homepage: https://osmocom.org/projects/baseband/wiki

+Package: osmocom-bb-doc
+Architecture: all
+Section: doc
+Priority: optional
+Depends: ${misc:Depends}
+Description: ${misc:Package} PDF documentation
+
 Package: osmocom-bb-gprsdecode
 Architecture: any
 Multi-Arch: foreign
diff --git a/debian/osmocom-bb-doc.install b/debian/osmocom-bb-doc.install
new file mode 100644
index 0000000..3ffba26
--- /dev/null
+++ b/debian/osmocom-bb-doc.install
@@ -0,0 +1 @@
+doc/manuals/osmocombb-usermanual.pdf usr/share/doc/osmocom-bb-doc/
diff --git a/debian/rules b/debian/rules
index f9c7529..671a0cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@
        $(MAKE) -C src layer23 HOST_CONFARGS="--with-gapk-io"
        $(MAKE) -C src osmocon trxcon virtphy
        $(MAKE) -C src gprsdecode
+       $(MAKE) -C doc/manuals

 # Installs a sub-project from src/host/ to its own DESTDIR
 install-%: src/host/%
@@ -17,3 +18,7 @@
                          install-trxcon \
                          install-virt_phy \
                          install-gprsdecode
+
+# Don't create .pdf.gz files (barely saves space and they can't be opened 
directly by most pdf readers)
+override_dh_compress:
+       dh_compress -X.pdf

--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/41078?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ib04160287c98814a6f2ae104197abda563bdd5b9
Gerrit-Change-Number: 41078
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to