summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-02-04 09:59:10 +0100
committerThomas Haller <thaller@redhat.com>2021-02-04 10:05:28 +0100
commitcbb59e33084b9058dafc391c10213f3eabdba764 (patch)
tree3f951f4c569c81d27e16a4cc96e3d3df52734ff3
parentac1a9e03e4d6674e1e60529b47b325a8f62e67b3 (diff)
downloadNetworkManager-cbb59e33084b9058dafc391c10213f3eabdba764.tar.gz
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.
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
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)