diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-14 08:31:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-14 08:35:12 +0000 |
commit | 71b61581784283371df39cf5ad2aa1c3bd964e74 (patch) | |
tree | 8b4f714665d796a6b47ae28fb62bd6158a72f63f | |
parent | Manually removing some files that pybuild doesn't clean up during build (Clos... (diff) | |
download | deluge-71b61581784283371df39cf5ad2aa1c3bd964e74.tar.xz deluge-71b61581784283371df39cf5ad2aa1c3bd964e74.zip |
Removing generated files to fix FTBFS when build twice in a row (Closes: #1044344).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-x | debian/rules | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index cac3bd5..dc88669 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,17 @@ execute_after_dh_auto_clean: rm -rf "$${ITEM}"; \ done + # remove generated files + rm -rf deluge/plugins/*/build + rm -f deluge/ui/web/js/deluge-all-debug.js + rm -f deluge/ui/web/js/extjs/ext-extensions-debug.js + rm -f deluge/ui/web/js/gettext.js + + for file in $$(find . -type f -name "*.in"); \ + do \ + rm -f "$$(dirname "$${file}")"/"$$(basename "$${file}" .in)"; \ + done + execute_before_dh_auto_build: echo "$(VERSION)" > RELEASE-VERSION |