diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-14 09:16:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-14 09:16:48 +0000 |
commit | b2478b5cf759599f71ee0a4a76d922c0ed365a07 (patch) | |
tree | 79ee38e5e4a0293633a1553f8d59ee7626bbc403 | |
parent | Releasing debian version 2.0.0-3. (diff) | |
download | drool-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>
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 8 |
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 |