[Pkg-ocaml-maint-commits] [ledit] 04/05: add bash completion

Ralf Treinen treinen at moszumanska.debian.org
Sat Dec 17 16:27:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

treinen pushed a commit to branch master
in repository ledit.

commit 6af062fb214b7d8941bc38692de9b44ca6aeac7d
Author: Ralf Treinen <treinen at free.fr>
Date:   Sat Dec 17 10:13:07 2016 +0100

    add bash completion
---
 debian/changelog             | 6 +++++-
 debian/control               | 1 +
 debian/ledit.bash-completion | 1 +
 debian/rules                 | 1 +
 4 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ac6bcb3..7f69912 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,12 @@ ledit (2.03-5) unstable; urgency=medium
     - bump debian/compat
     - bump build-dependency on debhelper
   * Vcs-{Git,Browser}: use secure URI
+  * add bash-completion:
+    - add build-dependency on bash-completion
+    - add debian/ledit.bash-completion
+    - debian/rules: invoke dh_bash-completion
 
- -- Ralf Treinen <treinen at debian.org>  Sat, 17 Dec 2016 09:28:21 +0100
+ -- Ralf Treinen <treinen at debian.org>  Sat, 17 Dec 2016 11:29:40 +0100
 
 ledit (2.03-4) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index dc6b329..d00c0e0 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends:
  dh-ocaml (>= 0.9~),
  ocaml-nox (>= 3.11.1-3~),
  camlp5 (>= 6)
+Build-Depends-Indep: bash-completion
 Standards-Version: 3.9.8
 Homepage: http://cristal.inria.fr/~ddr/ledit/
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ocaml-maint/packages/ledit.git
diff --git a/debian/ledit.bash-completion b/debian/ledit.bash-completion
new file mode 100644
index 0000000..05b805d
--- /dev/null
+++ b/debian/ledit.bash-completion
@@ -0,0 +1 @@
+complete -c ledit
diff --git a/debian/rules b/debian/rules
index bde1989..b1acd30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,6 +52,7 @@ binary-indep: build install-indep
 	dh_installexamples -i
 	dh_installman -i ledit.1
 	dh_installinfo -i
+	dh_bash-completion -i
 	dh_installchangelogs -i CHANGES
 	dh_link -i
 	dh_strip -X ledit -i

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ledit.git



More information about the Pkg-ocaml-maint-commits mailing list