debian: build manuals as osmo-remsim-doc package

Change-Id: If5812983d319a32864f5f34b160978533465d185
This commit is contained in:
Harald Welte 2019-07-23 16:18:48 +00:00
parent 32e204c83d
commit 573ddfdce1
3 changed files with 11 additions and 1 deletions

9
debian/control vendored
View File

@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9),
dh-systemd (>= 1.5), dh-systemd (>= 1.5),
autotools-dev, autotools-dev,
pkg-config, pkg-config,
osmo-gsm-manuals-dev,
libcsv-dev, libcsv-dev,
libosmocore-dev, libosmocore-dev,
libosmo-abis-dev, libosmo-abis-dev,
@ -68,3 +69,11 @@ Description: Osmocom Remote SIM - Client
'cardem' firmware of a SIMtrcace2 (or compatible, such as sysmoQMOD) 'cardem' firmware of a SIMtrcace2 (or compatible, such as sysmoQMOD)
hardware and forwards the SIM card communication to a remsim-bankd, hardware and forwards the SIM card communication to a remsim-bankd,
under the control of remsim-server. 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.

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

@ -0,0 +1 @@
usr/share/doc/osmo-remsim-doc/*.pdf

2
debian/rules vendored
View File

@ -12,7 +12,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
dh $@ --with=systemd --with autoreconf --fail-missing dh $@ --with=systemd --with autoreconf --fail-missing
override_dh_auto_configure: 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: #override_dh_clean:
# dh_clean # dh_clean