[PATCH 3/3] Include bash-completion into DEB package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 scripts/deb/control             | 2 +-
 scripts/deb/rules               | 2 +-
 scripts/deb/tgt.bash-completion | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 scripts/deb/tgt.bash-completion

diff --git a/scripts/deb/control b/scripts/deb/control
index 6a854cf..7bdfc8d 100644
--- a/scripts/deb/control
+++ b/scripts/deb/control
@@ -3,7 +3,7 @@ Maintainer: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
 Section: net
 Priority: optional
 Standards-Version: 3.9.1
-Build-Depends: debhelper (>= 8), dpkg-dev (>= 1.13.19),
+Build-Depends: debhelper (>= 8), dpkg-dev (>= 1.13.19), bash-completion,
     librdmacm-dev, libibverbs-dev, xsltproc
 Homepage: http://stgt.berlios.de/
 
diff --git a/scripts/deb/rules b/scripts/deb/rules
index 3a06b3d..c1c6bb1 100755
--- a/scripts/deb/rules
+++ b/scripts/deb/rules
@@ -3,7 +3,7 @@
 DEB_MAKE_ENVVARS += ISCSI_RDMA=1
 
 %:
-	dh $@
+	dh $@ --with bash-completion
 
 override_dh_auto_build:
 	dh_auto_build -- $(DEB_MAKE_ENVVARS)
diff --git a/scripts/deb/tgt.bash-completion b/scripts/deb/tgt.bash-completion
new file mode 100644
index 0000000..6266e39
--- /dev/null
+++ b/scripts/deb/tgt.bash-completion
@@ -0,0 +1 @@
+scripts/tgt.bashcomp.sh tgt
\ No newline at end of file
-- 
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux