diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-14 08:04:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-14 08:12:35 +0000 |
commit | b8ae189217a727808b204660b28cbaada9dd55d8 (patch) | |
tree | 799d4d730714936d3dd54d0e891f9e8c916ff0f3 | |
parent | Releasing debian version 0.7.1-10. (diff) | |
download | ck-b8ae189217a727808b204660b28cbaada9dd55d8.tar.xz ck-b8ae189217a727808b204660b28cbaada9dd55d8.zip |
Removing generated files to fix FTBFS when build twice in a row (Closes: #1043762).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 9ed6221..70667c5 100755 --- a/debian/rules +++ b/debian/rules @@ -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 \ |