summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMart Frauenlob <mart.frauenlob@chello.at>2016-02-25 16:01:40 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2016-02-26 19:59:29 +0100
commit3b0941302c0940e625ea545b096a20319a0d8a19 (patch)
tree5763444dd4a88ab66a065d4e763fd9c0fcda0e6c /utils
parent7de1b275f16528509ec93bcc1f3ffa81f2d9faa8 (diff)
Add bash completion to the install routine.
Add the configure option --enable-bashcompl (default disabled). The PKG_CHECK_VAR requires pkg-config 0.28 or greater. Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile.am4
-rw-r--r--utils/ipset_bash_completion/ipset (renamed from utils/ipset_bash_completion/ipset_bash_completion)0
2 files changed, 4 insertions, 0 deletions
diff --git a/utils/Makefile.am b/utils/Makefile.am
new file mode 100644
index 0000000..40128d3
--- /dev/null
+++ b/utils/Makefile.am
@@ -0,0 +1,4 @@
+include $(top_srcdir)/Make_global.am
+
+bashcompdir = @bashcompdir@
+dist_bashcomp_DATA = ipset_bash_completion/ipset
diff --git a/utils/ipset_bash_completion/ipset_bash_completion b/utils/ipset_bash_completion/ipset
index b6d94c2..b6d94c2 100644
--- a/utils/ipset_bash_completion/ipset_bash_completion
+++ b/utils/ipset_bash_completion/ipset