linux-perf: Add build-time check for unversioned files that are likely to result in file conflicts

See #813080, #821741, etc.
This commit is contained in:
Ben Hutchings 2016-04-28 15:53:34 +02:00
parent d251b99807
commit f0398f7ebe
2 changed files with 4 additions and 0 deletions

2
debian/changelog vendored
View File

@ -128,6 +128,8 @@ linux (4.5.2-1) UNRELEASED; urgency=medium
Thierry Herbelot (Closes: #822666)
* memcg: remove lru_add_drain_all() invocation from mem_cgroup_move_charge()
(Closes: #822084)
* linux-perf: Add build-time check for unversioned files that are likely to
result in file conflicts
[ Aurelien Jarno ]
* [mips*] Emulate unaligned LDXC1 and SDXC1 instructions.

View File

@ -70,3 +70,5 @@ endif
mv $(DESTDIR)/etc/bash_completion.d \
$(DESTDIR)/usr/share/bash-completion/completions
rmdir --ignore-fail-on-non-empty $(DESTDIR)/etc
# Check for unversioned files that are likely to result in file conflicts
! find $(DESTDIR) -name '*perf*' \! -path '*[_-]$(VERSION)*' | grep .