[ufoai] 11/20: Build with bash-completion

Markus Koschany apo-guest at moszumanska.debian.org
Sun Nov 22 23:18:17 UTC 2015


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

apo-guest pushed a commit to branch master
in repository ufoai.

commit 0d24377cbddc85d6e9768c642e10da4cafdb441a
Author: Markus Koschany <apo at debian.org>
Date:   Sun Nov 22 15:40:00 2015 +0100

    Build with bash-completion
---
 debian/control                     | 1 +
 debian/rules                       | 2 +-
 debian/ufoai-tools.bash-completion | 2 ++
 debian/ufoai-tools.install         | 2 --
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 1a4b4b1..cd55bfd 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders:
  Markus Koschany <apo at debian.org>
 Build-Depends:
+ bash-completion,
  debhelper (>= 9),
  dpkg-dev (>= 1.17.1~),
  gettext,
diff --git a/debian/rules b/debian/rules
index 146ff40..55ba350 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel --with bash-completion
 
 override_dh_auto_configure:
 	./configure \
diff --git a/debian/ufoai-tools.bash-completion b/debian/ufoai-tools.bash-completion
new file mode 100644
index 0000000..aedf184
--- /dev/null
+++ b/debian/ufoai-tools.bash-completion
@@ -0,0 +1,2 @@
+contrib/scripts/bashcompletion/ufo2map
+contrib/scripts/bashcompletion/ufomodel
diff --git a/debian/ufoai-tools.install b/debian/ufoai-tools.install
index a21e42a..92cedb4 100644
--- a/debian/ufoai-tools.install
+++ b/debian/ufoai-tools.install
@@ -1,5 +1,3 @@
-contrib/scripts/bashcompletion/ufo2map      etc/bash_completion.d/ufo2map
-contrib/scripts/bashcompletion/ufomodel     etc/bash_completion.d/ufomodel
 ufo2map                                     usr/bin
 ufomodel                                    usr/bin
 ufoslicer                                   usr/bin

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ufoai.git



More information about the Pkg-games-commits mailing list