[gmt] 22/29: Fix bash-completion installation.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sun Jun 7 18:33:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository gmt.
commit b1df425adc97d30f8a1a9c6eaa906eae046d45c5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Jun 6 21:19:43 2015 +0200
Fix bash-completion installation.
---
debian/gmt.install | 1 +
debian/rules | 7 +++++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/gmt.install b/debian/gmt.install
index 3e1762a..08a0919 100644
--- a/debian/gmt.install
+++ b/debian/gmt.install
@@ -15,3 +15,4 @@ usr/share/time usr/share/gmt
usr/share/tools usr/share/gmt
usr/share/x2sys usr/share/gmt
usr/share/man
+usr/share/bash-completion
diff --git a/debian/rules b/debian/rules
index 24f252f..9e77966 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,8 +65,11 @@ export DH_VERBOSE
# # Remove +x
# find $(CURDIR)/debian/gmt-examples/usr/share/doc/gmt-examples/examples -name "*.bat" -exec chmod -x {} \;
- # Fix /etc installation
- mv debian/tmp/usr/etc debian/tmp/
+ # Fix bash-completion installation
+ mkdir -p debian/tmp/usr/share/bash-completion/completions
+ mv debian/tmp/usr/etc/bash_completion.d/gmt debian/tmp/usr/share/bash-completion/completions
+ rm -rf debian/tmp/usr/etc/bash_completion.d
+ rmdir debian/tmp/usr/etc/
# $(MAKE) -C build/src/mex DESTDIR=$(DESTDIR) install
# -find $(DESTDIR)/usr/lib/octave -name "*.mex" -exec rename 's/\.mex/.oct/' {} \;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gmt.git
More information about the Pkg-grass-devel
mailing list