diff options
author | Agustin Henze <tin@sluc.org.ar> | 2014-02-28 12:39:48 -0300 |
---|---|---|
committer | Agustin Henze <tin@sluc.org.ar> | 2014-02-28 12:39:48 -0300 |
commit | 4786850b418047fb912c8f29ee7979f1cb25691a (patch) | |
tree | 58faf362397ea0c55d8bb675226e84796b8270b6 | |
parent | 2c3344fb61e2330cce4b223743a05b7c38d8532f (diff) | |
download | nikola-4786850b418047fb912c8f29ee7979f1cb25691a.tar.bz2 nikola-4786850b418047fb912c8f29ee7979f1cb25691a.tar.xz nikola-4786850b418047fb912c8f29ee7979f1cb25691a.tar.zst |
Fix gen_completion (not using doit any more), invoking nikola directly
to generate the completions.
-rw-r--r-- | debian/control | 14 | ||||
-rwxr-xr-x | debian/rules | 3 |
2 files changed, 14 insertions, 3 deletions
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 <tin@debian.org> Uploaders: Ulises Vitulli <dererk@debian.org> 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 |