File: Fix-make-distclean.patch

package info (click to toggle)
cpputest 4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,688 kB
  • sloc: cpp: 31,212; sh: 4,978; ansic: 1,360; makefile: 775; ruby: 676; xml: 8; sed: 1
file content (27 lines) | stat: -rw-r--r-- 755 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
-