From 4a0a255e4faf0ddde44eda671907671955273f0e Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 25 Sep 2015 20:04:19 +0100 Subject: [PATCH] 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 968f4ec5d..e327a2d02 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 262b1b16b..c2da5a7b2 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 Fri, 25 Sep 2015 18:42:20 +0100