summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-14 09:16:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-14 09:16:48 +0000
commitb2478b5cf759599f71ee0a4a76d922c0ed365a07 (patch)
tree79ee38e5e4a0293633a1553f8d59ee7626bbc403
parentReleasing debian version 2.0.0-3. (diff)
downloaddrool-b2478b5cf759599f71ee0a4a76d922c0ed365a07.tar.xz
drool-b2478b5cf759599f71ee0a4a76d922c0ed365a07.zip
Removing generated files to fix FTBFS when build twice in a row (Closes: #1045009).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 9a010cb..2def899 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,14 @@
%:
dh ${@}
+execute_after_dh_auto_clean:
+ # remove generated files
+ rm -f src/test/env.sh
+ 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/drool/usr/share/doc/drool/LICENSE