mirror of
https://github.com/curl/curl.git
synced 2026-05-30 03:07:28 +03:00
tests/certs/Makefile.am: avoid superfluous cert re-generation
Fixes #16897 Closes #16899
This commit is contained in:
parent
1dd361cde8
commit
66c95f05fa
2 changed files with 9 additions and 9 deletions
|
|
@ -158,7 +158,7 @@ perlcheck:
|
|||
@if ! test -x "$(PERL)"; then echo "No perl!"; exit 2; fi
|
||||
|
||||
build-certs:
|
||||
(cd certs && $(MAKE) build-certs)
|
||||
(cd certs && $(MAKE))
|
||||
|
||||
test: perlcheck all
|
||||
$(TEST) $(TFLAGS)
|
||||
|
|
|
|||
|
|
@ -30,9 +30,16 @@ EXTRA_DIST = $(CERTCONFIG_CA) $(CERTCONFIGS) $(SRPFILES) CMakeLists.txt \
|
|||
|
||||
DISTCLEANFILES = $(GENERATEDCERTS)
|
||||
|
||||
all-am: test-ca.cacert
|
||||
|
||||
# Rebuild the certificates
|
||||
|
||||
clean-certs:
|
||||
# Generate all certs in a single shot, but declare just a single target file
|
||||
# to support GNU Make <4.3 without the "grouped explicit targets" feature.
|
||||
test-ca.cacert: $(CERTCONFIG_CA) $(CERTCONFIGS) genserv.pl
|
||||
$(PERL) $(srcdir)/genserv.pl test $(CERTCONFIGS)
|
||||
|
||||
clean-local:
|
||||
rm -f $(GENERATEDCERTS) \
|
||||
test-*.csr \
|
||||
test-*.der \
|
||||
|
|
@ -41,10 +48,3 @@ clean-certs:
|
|||
test-ca.db* \
|
||||
test-ca.raw* \
|
||||
test-ca.srl
|
||||
|
||||
build-certs: test-ca.cacert
|
||||
|
||||
# Generate all certs in a single shot, but declare just a single target file
|
||||
# to support GNU Make <4.3 without the "grouped explicit targets" feature.
|
||||
test-ca.cacert: $(CERTCONFIG_CA) $(CERTCONFIGS) genserv.pl
|
||||
$(PERL) $(srcdir)/genserv.pl test $(CERTCONFIGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue