Removing generated files to fix FTBFS when build twice in a row (Closes: #1044510).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
268fd6b214
commit
7ca6e7a977
1 changed files with 9 additions and 0 deletions
9
debian/rules
vendored
9
debian/rules
vendored
|
@ -3,6 +3,15 @@
|
|||
%:
|
||||
dh ${@}
|
||||
|
||||
execute_after_dh_auto_clean:
|
||||
# remove generated files
|
||||
rm -f src/core/compat.hh
|
||||
rm -f src/core/log_errstr.c
|
||||
for file in $$(find . -type f -name "*.in"); \
|
||||
do \
|
||||
rm -f "$$(dirname "$${file}")"/"$$(basename "$${file}" .in)"; \
|
||||
done
|
||||
|
||||
execute_after_dh_install:
|
||||
# Removing useless files
|
||||
rm -f debian/dnsjit/usr/share/doc/dnsjit/LICENSE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue