From: =?utf-8?q?Rapha=C3=ABl_Hertzog?= <hertzog@debian.org>
Date: Fri, 21 Mar 2025 10:10:57 +0100
Subject: Fix make distclean

With build parallelism, the call to "make distclean-local" happens at a time
where "make distclean-generic" has not finished to remove the files in
the "generated" directory. Anyway removing the empty directory serves no
real purpose, so just drop that.

Bug-Debian: https://bugs.debian.org/1049757
Bug-Debian: https://bugs.debian.org/1044148
---
 Makefile.am | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index a770a68..1d9a7cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -435,7 +435,3 @@ dist-hook:
 			exit 1; \
 		fi \
 	fi
-
-distclean-local:
-	test -z "generated" || rmdir generated
-
