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:
parent
27bc3b208e
commit
cbe6b16d18
1 changed files with 8 additions and 0 deletions
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue