Removing generated files to fix FTBFS when build twice in a row (Closes: #1045009).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f88cdf4dd6
commit
96d6db3707
1 changed files with 8 additions and 0 deletions
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -3,6 +3,14 @@
|
||||||
%:
|
%:
|
||||||
dh ${@}
|
dh ${@}
|
||||||
|
|
||||||
|
execute_after_dh_auto_clean:
|
||||||
|
# remove generated files
|
||||||
|
rm -f src/test/env.sh
|
||||||
|
for file in $$(find . -type f -name "*.in"); \
|
||||||
|
do \
|
||||||
|
rm -f "$$(dirname "$${file}")"/"$$(basename "$${file}" .in)"; \
|
||||||
|
done
|
||||||
|
|
||||||
execute_after_dh_auto_install:
|
execute_after_dh_auto_install:
|
||||||
# Removing useless files
|
# Removing useless files
|
||||||
rm -f debian/drool/usr/share/doc/drool/LICENSE
|
rm -f debian/drool/usr/share/doc/drool/LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue