From 4786850b418047fb912c8f29ee7979f1cb25691a Mon Sep 17 00:00:00 2001 From: Agustin Henze Date: Fri, 28 Feb 2014 12:39:48 -0300 Subject: Fix gen_completion (not using doit any more), invoking nikola directly to generate the completions. --- debian/control | 14 ++++++++++++-- debian/rules | 3 ++- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'debian') diff --git a/debian/control b/debian/control index e783655..55549a5 100644 --- a/debian/control +++ b/debian/control @@ -5,13 +5,23 @@ Maintainer: Agustin Henze Uploaders: Ulises Vitulli Build-Depends: debhelper (>= 9), + dh-python, + bash-completion, python-all, python-support (>= 1), python-setuptools, python-docutils, - dh-python, + python-blinker, + python-lxml, + python-yapsy, + python-tz, + python-logbook, python-doit, - bash-completion, + python-unidecode, + python-pyrss2gen, + python-mako, + python-pygments, + python-imaging, Standards-Version: 3.9.5 X-Python-Version: >= 2.7 Homepage: http://getnikola.com/ diff --git a/debian/rules b/debian/rules index 8dd5cea..7bdee4b 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,8 @@ override_dh_clean: rm -f _nikola_bash override_dh_bash-completion: - doit gen_completion + ./scripts/nikola tabcompletion --shell bash --hardcode-tasks > _nikola_bash + ./scripts/nikola tabcompletion --shell zsh --hardcode-tasks > _nikola_zsh dh_bash-completion cp _nikola_zsh debian/nikola/usr/share/zsh/functions/Completion/Linux/_nikola -- cgit v1.2.3