commit | f6387dc7660e4e46961c4f3820136357b65bbc0c | [log] [tgz] |
---|---|---|
author | Oliver Smith <osmith@sysmocom.de> | Wed May 22 13:43:57 2019 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Fri May 31 14:25:27 2019 +0000 |
tree | dca5614026f78118978433ce6b81543b72a2e04e | |
parent | 1b1d7ed98fd79d0f8a0a0856c757eade0a708470 [diff] [blame] |
debian: create -doc subpackage with pdf manuals I have verified, that the resulting debian packages build in my own OBS namespace (see the -doc packages): https://download.opensuse.org/repositories/home:/osmith42/Debian_9.0/all/ https://build.opensuse.org/project/show/home:osmith42 Depends: Ib7251cca9116151e473798879375cd5eb48ff3ad (osmo-ci) Related: OS#3899 Change-Id: I8466713a8d414ea56ca24f6f7119338ad2b98ce5
diff --git a/debian/rules b/debian/rules index d67243c..d38898d 100755 --- a/debian/rules +++ b/debian/rules
@@ -30,6 +30,10 @@ dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) override_dh_auto_configure: - dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system + dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals + +# 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 # See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg