From: Viktor Szakats Date: Mon, 14 Apr 2025 21:44:57 +0000 (+0200) Subject: make: clean tests better (tunits) X-Git-Tag: curl-8_14_0~305 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=160656410dd17e86adb19b325d627f68201a3973;p=thirdparty%2Fcurl.git make: clean tests better (tunits) Sync clean target with other test bundles. Follow-up to d3761bb84013ffd356753f943d687283afe203b5 #16986 Closes #17053 --- diff --git a/tests/tunit/Makefile.am b/tests/tunit/Makefile.am index d910daa8d8..0a09a850a2 100644 --- a/tests/tunit/Makefile.am +++ b/tests/tunit/Makefile.am @@ -59,12 +59,14 @@ if CURLDEBUG AM_CPPFLAGS += -DCURLDEBUG endif +BUNDLE=tunits + if BUILD_UNITTESTS if USE_TEST_BUNDLES tool_bundle.c: $(top_srcdir)/tests/mk-bundle.pl Makefile.inc @PERL@ $(top_srcdir)/tests/mk-bundle.pl $(srcdir) > tool_bundle.c -noinst_PROGRAMS = tunits +noinst_PROGRAMS = $(BUNDLE) nodist_tunits_SOURCES = tool_bundle.c CLEANFILES = tool_bundle.c else @@ -86,3 +88,6 @@ checksrc: $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) \ -W$(srcdir)/tool_bundle.c \ $(srcdir)/*.[ch]) + +clean-local: + rm -f $(BUNDLE)