laforge submitted this change.
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(-)
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 change 41078. To unsubscribe, or for help writing mail filters, visit settings.