diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-05-04 23:51:31 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-05-06 14:38:32 +0200 |
commit | 5143d6c6fd31a41b7031e6f699ced6ae9dd6696b (patch) | |
tree | 5bb49e6bac2209cd3e9ccedba172fa6c432e9764 | |
parent | 79af62944068924d26829f9cbcedc514bfdf0f53 (diff) |
share/mk/: distcheck: Run 'check' after 'build'
In this project, it doesn't matter, but in some cases, it's useful that
check doesn't imply build, such as in liba2i.git. Cherry-picking this
change reduces differences in build systems.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Cherry-picked-from: liba2i.git 7246995b3464 ("share/mk/: distcheck: 'check' must be run after 'build'")
Link: <https://git.kernel.org/pub/scm/libs/liba2i/liba2i.git/>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | share/mk/dist/check/_.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/share/mk/dist/check/_.mk b/share/mk/dist/check/_.mk index 7c6267625..d0a3b5df9 100644 --- a/share/mk/dist/check/_.mk +++ b/share/mk/dist/check/_.mk @@ -33,8 +33,11 @@ distcheck-%: $(_DISTCHECKSRCDIR) $(MK) | $$(@D)/ .PHONY: distcheck distcheck: distcheck-diffoscope distcheck: $(_DISTCHECKSRCDIR) $(MK) - $(info $(INFO_)MAKE lint build check install dist) - $(MAKE) $(_MAKE_OPTS) lint build check install dist \ + $(info $(INFO_)MAKE lint build install dist) + $(MAKE) $(_MAKE_OPTS) lint build install dist \ + 'INFO_= distcheck: ' + $(info $(INFO_)MAKE check) + $(MAKE) $(_MAKE_OPTS) check \ 'INFO_= distcheck: ' |