debian: Package the manual pages
Commit Message
Looking at the `rpm` and `archlinux` changes, this commit also
ensures that manpage packaging is in place for Debian.
RPM also packages man3/Location.3pm* however Debian currently
builds with the `--disable-perl` flag, so that manpage is not
applicable as of now.
Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
---
debian/libloc1.manpages | 2 ++
debian/location.manpages | 2 ++
debian/lua-location.manpages | 1 +
debian/python3-location.manpages | 1 +
debian/rules | 2 +-
5 files changed, 7 insertions(+), 1 deletion(-)
create mode 100644 debian/libloc1.manpages
create mode 100644 debian/location.manpages
create mode 100644 debian/lua-location.manpages
create mode 100644 debian/python3-location.manpages
new file mode 100644
@@ -0,0 +1,2 @@
+usr/share/man/man3/libloc.3*
+usr/share/man/man3/loc_*.3*
new file mode 100644
@@ -0,0 +1,2 @@
+usr/share/man/man1/location.1*
+usr/share/man/man1/location-importer.1*
new file mode 100644
@@ -0,0 +1 @@
+usr/share/man/man3/lua-location.3*
new file mode 100644
@@ -0,0 +1 @@
+usr/share/man/man3/python-location.3*
@@ -5,7 +5,7 @@ export PYBUILD_SYSTEM=custom
export PYBUILD_CLEAN_ARGS=dh_auto_clean
export PYBUILD_CONFIGURE_ARGS=intltoolize --force --automake; \
PYTHON={interpreter} dh_auto_configure -- \
- --disable-man-pages --disable-perl --with-systemd
+ --disable-perl --with-systemd
export PYBUILD_BUILD_ARGS=dh_auto_build
export PYBUILD_INSTALL_ARGS=dh_auto_install --destdir={destdir}; \
mkdir -p {destdir}/usr/lib/python{version}/dist-packages; \