debian: build manuals as osmo-remsim-doc package

Change-Id: If5812983d319a32864f5f34b160978533465d185
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