[linux-tools] 04/11: linux-perf: Fix installation directory for bash completions

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Sep 25 23:40:36 UTC 2015


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

benh pushed a commit to branch master
in repository linux-tools.

commit 4a0a255e4faf0ddde44eda671907671955273f0e
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Fri Sep 25 20:04:19 2015 +0100

    linux-perf: Fix installation directory for bash completions
---
 debian/build/tools/perf/Makefile | 4 ++++
 debian/changelog                 | 1 +
 2 files changed, 5 insertions(+)

diff --git a/debian/build/tools/perf/Makefile b/debian/build/tools/perf/Makefile
index 968f4ec..e327a2d 100644
--- a/debian/build/tools/perf/Makefile
+++ b/debian/build/tools/perf/Makefile
@@ -66,6 +66,10 @@ ifdef KERNEL_ARCH_PERF
 # - 'perf trace' doesn't take much more typing
 	rm -f $(DESTDIR)/usr/bin/trace_$(VERSION)
 endif
+	mkdir -p $(DESTDIR)/usr/share/bash-completion/
+	mv $(DESTDIR)/etc/bash_completion.d \
+		$(DESTDIR)/usr/share/bash-completion/completions
+	rmdir --ignore-fail-on-non-empty $(DESTDIR)/etc
 
 clean:
 ifdef KERNEL_ARCH_PERF
diff --git a/debian/changelog b/debian/changelog
index 262b1b1..c2da5a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ linux-tools (4.2-1) UNRELEASED; urgency=medium
   * debian/bin,debian/control,debian/lib/python,debian/rules: Use Python 3
     - debian/lib/python: Sync with linux package
   * debian/bin/genorig.py: Make orig tarballs reproducible
+  * linux-perf: Fix installation directory for bash completions
 
  -- Ben Hutchings <ben at decadent.org.uk>  Fri, 25 Sep 2015 18:42:20 +0100
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-tools.git



More information about the Kernel-svn-changes mailing list