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

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 07:43:44 +01:00
parent 27bc3b208e
commit cbe6b16d18
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

8
debian/rules vendored
View file

@ -18,6 +18,14 @@ endif
%:
dh ${@}
execute_after_dh_auto_clean:
# remove generated files
rm -f doc/*.gz src/*.a src/*.so
for FILE in $$(find . -type f -name "*.in"); \
do \
rm -f "$$(dirname "$${FILE}")"/"$$(basename "$${FILE}" .in)"; \
done
override_dh_auto_configure:
dh_auto_configure -- \
--prefix=/usr \