From: Richard Levitte Date: Mon, 18 Apr 2016 12:09:36 +0000 (+0200) Subject: Build: Make 'test' depend on 'tests' X-Git-Tag: OpenSSL_1_1_0-pre6~1119 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b741653ce9c1a893a9402c5fc36c46f4b62f4a9;p=oweals%2Fopenssl.git Build: Make 'test' depend on 'tests' Because we have a directory 'test', the target 'test' may be confusing to make. However, if we make it depend on 'tests', which doesn't exist, make should never fail to run the actions. Reviewed-by: Andy Polyakov --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index ed64e654fd..1676b71b42 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -217,8 +217,9 @@ build_apps_nodep: $(PROGRAMS) $(SCRIPTS) build_tests: configdata.pm build_tests_nodep depend build_tests_nodep: $(TESTPROGS) -test tests: build_tests_nodep build_apps_nodep build_engines_nodep \ - depend link-utils +test: tests +tests: build_tests_nodep build_apps_nodep build_engines_nodep \ + depend link-utils @ : {- output_off() if $disabled{tests}; "" -} ( cd test; \ SRCTOP=../$(SRCDIR) \ diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl index 0c043a098e..c3233eeb08 100644 --- a/Configurations/windows-makefile.tmpl +++ b/Configurations/windows-makefile.tmpl @@ -138,7 +138,8 @@ build_apps_nodep: $(PROGRAMS) $(SCRIPTS) build_tests: configdata.pm build_tests_nodep depend build_tests_nodep: $(TESTPROGS) -test tests: build_tests_nodep build_apps_nodep build_engines_nodep depend +test: tests +tests: build_tests_nodep build_apps_nodep build_engines_nodep depend @rem {- output_off() if $disabled{tests}; "" -} set SRCTOP=$(SRCDIR) set BLDTOP=$(BLDDIR)