From cbb59e33084b9058dafc391c10213f3eabdba764 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 4 Feb 2021 09:59:10 +0100 Subject: [PATCH] autotools: add `check-progs` target If you configure with "--enable-tests=no", then the tests are not build during `make all`, but only during `make check`. That is convenient for development, so if you don't work on tests, they usually don't get build and the (partial) compilation is faster. However, there is no target to build the tests without running them. Add `make check-progs` for that. --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 48cf7cfb61..7ae9648838 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5522,6 +5522,10 @@ cscope: ############################################################################### +check-progs: all $(check_PROGRAMS) $(check_LTLIBRARIES) + +############################################################################### + .PRECIOUS: test-suite.log .DELETE_ON_ERROR: -.PHONY: cscope dist-configure-check $(check_local) $(dist_hook) +.PHONY: check-progs cscope dist-configure-check $(check_local) $(dist_hook)