1
0
Fork 0

Removing generated files to fix FTBFS when build twice in a row (Closes: #1044550).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-08 12:12:55 +01:00
parent 1149b4f622
commit e4303f6eaf
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

10
debian/rules vendored
View file

@ -3,6 +3,16 @@
%:
dh ${@}
execute_after_dh_auto_clean:
# remove generated files
rm -f plugins/*/dns.pcap-dist plugins/*/dns6.pcap-dist
rm -f src/test/*.out
rm -f src/test/frags.gold
for file in $$(find . -type f -name "*.in"); \
do \
rm -f "$$(dirname "$${file}")"/"$$(basename "$${file}" .in)"; \
done
execute_after_dh_auto_install:
# Removing useless files
rm -f debian/tmp/usr/lib/*/dnscap/*.la