summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-14 09:09:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-14 09:09:24 +0000
commitb9b81fd34b931c4ee2dbbea8ce5d606fe457e838 (patch)
tree26006d1ae79f7641ec43c387d188ab63c1e45ca0
parentReleasing debian version 0.4.0-2. (diff)
downloaddnswire-b9b81fd34b931c4ee2dbbea8ce5d606fe457e838.tar.xz
dnswire-b9b81fd34b931c4ee2dbbea8ce5d606fe457e838.zip
Removing generated files to fix FTBFS when build twice in a row (Closes: #1045064).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 097dd27..045f061 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,9 @@ upstream:
execute_after_dh_auto_clean:
rm -f src/dnstap.pb/dnstap.proto
+ # remove generated files
+ rm -f src/dnstap.pb-c.h
+
execute_after_dh_auto_configure:
mkdir -p src/dnstap.pb
ln -s ../../debian/local/dnstap.proto src/dnstap.pb/dnstap.proto