mirror of
https://github.com/curl/curl.git
synced 2026-08-26 03:03:36 +03:00
make: clean tests better (tunits)
Sync clean target with other test bundles.
Follow-up to d3761bb840 #16986
Closes #17053
This commit is contained in:
parent
1d0e19a64d
commit
160656410d
1 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue