1
0
Fork 0

Removing generated files to fix FTBFS when build twice in a row (Closes: #1047538).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-14 06:07:28 +01:00
parent be85b91e93
commit 7bfafe90fc
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

7
debian/rules vendored
View file

@ -25,6 +25,13 @@ export CONFFILE2="/etc/mdadm.conf"
%:
dh $@
execute_after_dh_auto_clean:
# remove generated files
for file in $$(find . -type f -name "*.in"); \
do \
rm -f "$$(dirname "$${file}")"/"$$(basename "$${file}" .in)"; \
done
override_dh_install:
$(MAKE) install-systemd DESTDIR=$(CURDIR)/debian/tmp
dh_install