diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-14 08:57:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-14 09:04:10 +0000 |
commit | 37f61ba572eaa0da1b02cfc68787e79dea61dbc3 (patch) | |
tree | c08e0ab18b42ff7ede51f3cc86c03a9d00484fb5 | |
parent | Releasing debian version 1.2.3-2. (diff) | |
download | dnsjit-37f61ba572eaa0da1b02cfc68787e79dea61dbc3.tar.xz dnsjit-37f61ba572eaa0da1b02cfc68787e79dea61dbc3.zip |
Removing generated files to fix FTBFS when build twice in a row (Closes: #1044510).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 3256c4d..e35cfec 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,15 @@ %: dh ${@} +execute_after_dh_auto_clean: + # remove generated files + rm -f src/core/compat.hh + rm -f src/core/log_errstr.c + for file in $$(find . -type f -name "*.in"); \ + do \ + rm -f "$$(dirname "$${file}")"/"$$(basename "$${file}" .in)"; \ + done + execute_after_dh_install: # Removing useless files rm -f debian/dnsjit/usr/share/doc/dnsjit/LICENSE |