laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-remsim/+/14911


Change subject: debian: build manuals as osmo-remsim-doc package
......................................................................

debian: build manuals as osmo-remsim-doc package

Change-Id: If5812983d319a32864f5f34b160978533465d185
---
M debian/control
A debian/osmo-remsim-doc.install
M debian/rules
3 files changed, 11 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/11/14911/1

diff --git a/debian/control b/debian/control
index a9eaa98..c693fde 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@
                dh-systemd (>= 1.5),
                autotools-dev,
                pkg-config,
+               osmo-gsm-manuals-dev,
                libcsv-dev,
                libosmocore-dev,
                libosmo-abis-dev,
@@ -68,3 +69,11 @@
  'cardem' firmware of a SIMtrcace2 (or compatible, such as sysmoQMOD)
  hardware and forwards the SIM card communication to a remsim-bankd,
  under the control of remsim-server.
+
+package: osmo-remsim-doc
+Architecture: all
+Section: doc
+Priority: optional
+Depends: ${misc:Depends}
+Description: ${misc:Package} PDF documentation
+ User manual for ${misc:Package} in PDF format.
diff --git a/debian/osmo-remsim-doc.install b/debian/osmo-remsim-doc.install
new file mode 100644
index 0000000..e460a4d
--- /dev/null
+++ b/debian/osmo-remsim-doc.install
@@ -0,0 +1 @@
+usr/share/doc/osmo-remsim-doc/*.pdf
diff --git a/debian/rules b/debian/rules
index bbf2626..a36fe36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@
        dh $@ --with=systemd --with autoreconf --fail-missing

 override_dh_auto_configure:
-       dh_auto_configure --  --with-systemdsystemunitdir=/lib/systemd/system
+       dh_auto_configure --  --with-systemdsystemunitdir=/lib/systemd/system 
--enable-manuals

 #override_dh_clean:
 #      dh_clean

--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/14911
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: If5812983d319a32864f5f34b160978533465d185
Gerrit-Change-Number: 14911
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to