diff --git a/debian/clean b/debian/clean index f97151c..ccbd99b 100644 --- a/debian/clean +++ b/debian/clean @@ -1,3 +1,3 @@ shoogle.egg-info/ .eggs/ - +debian/shoogle.1 diff --git a/debian/control b/debian/control index 8b7a326..af7abba 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,8 @@ Maintainer: David Steele Build-Depends: debhelper (>=9), dh-python, python3-setuptools, - python3-all + python3-all, + pandoc, Standards-Version: 4.1.1 Homepage: https://pypi.python.org/pypi/shoogle/ X-Python3-Version: >= 3.0 diff --git a/debian/rules b/debian/rules index 7a4b2c7..33d9635 100755 --- a/debian/rules +++ b/debian/rules @@ -11,6 +11,11 @@ VER ?= $(shell (dpkg-parsechangelog -l$(PKD)/changelog | grep Version | sed 's/V %: dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_build: + dh_auto_build -O--buildsystem=pybuild + pandoc debian/shoogle.1.md -s -t man -o debian/shoogle.1 + .PHONY get-orig-source: get-orig-source: $(info I: $(PKG)_$(VER)) @echo "# Downloading..." diff --git a/debian/shoogle.manpages b/debian/shoogle.manpages new file mode 100644 index 0000000..735d06e --- /dev/null +++ b/debian/shoogle.manpages @@ -0,0 +1 @@ +debian/shoogle.1