[glib] Install bash completion files in /usr/share/
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Install bash completion files in /usr/share/
- Date: Thu, 21 Jun 2012 10:23:32 +0000 (UTC)
commit e9ec1ad0689dfbb1121e1c5fe5b1aedbe2de568f
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 21 06:11:58 2012 -0400
Install bash completion files in /usr/share/
The bash-completion code nowadays expects completion files to
be installed in /usr/share/bash-completion/completions, and
expects them to be named like the command they are completing
for.
https://bugzilla.gnome.org/show_bug.cgi?id=677782
gio/Makefile.am | 8 ++++----
gio/{gdbus-bash-completion.sh => completion/gdbus} | 0
.../gresource} | 0
.../gsettings} | 0
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/Makefile.am b/gio/Makefile.am
index 7c07010..1b1b988 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -721,11 +721,11 @@ gdbus_LDADD = libgio-2.0.la \
$(top_builddir)/glib/libglib-2.0.la \
$(top_builddir)/gobject/libgobject-2.0.la
-completiondir = $(sysconfdir)/bash_completion.d
+completiondir = $(datadir)/bash-completion/completions
completion_DATA = \
- gdbus-bash-completion.sh \
- gsettings-bash-completion.sh \
- gresource-bash-completion.sh
+ completion/gdbus \
+ completion/gsettings \
+ completion/gresource
EXTRA_DIST += $(completion_DATA)
# ------------------------------------------------------------------------
diff --git a/gio/gdbus-bash-completion.sh b/gio/completion/gdbus
similarity index 100%
rename from gio/gdbus-bash-completion.sh
rename to gio/completion/gdbus
diff --git a/gio/gresource-bash-completion.sh b/gio/completion/gresource
similarity index 100%
rename from gio/gresource-bash-completion.sh
rename to gio/completion/gresource
diff --git a/gio/gsettings-bash-completion.sh b/gio/completion/gsettings
similarity index 100%
rename from gio/gsettings-bash-completion.sh
rename to gio/completion/gsettings
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]