summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-01-12 16:21:26 +0100
committerLuboš Luňák <l.lunak@collabora.com>2022-01-13 10:12:57 +0100
commitd6496fce2e51a3e44753e6b5c462824f182b48d5 (patch)
tree3844c4d8d84aa1ad91b9d53b59c0666ac06206ec /Makefile.in
parentf5f5b45001eb419ab45c823c17cafc53e6a4659e (diff)
split gbuild's <module>.all to <module>.allbuild or .allcheck
This is similar to the removal of the 'all' target in the past. Using 'make vcl.all' is supposed to build the vcl module and all its dependencies, the problem is that it builds also tests, which means not only building and running the tests but also their dependencies too, so 'make vcl.all' may in fact also build Writer because a unittest depends on something there. So now <module>.allcheck is the new name for that, and newly there's also the (IMO actually useful) <module>.allbuild . Change-Id: I55baa014a657783e641cee67948ee8fb062b1982 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128349 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 7c30271cffb9..9df9c8963140 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -105,9 +105,15 @@ $(1).build $(1).check $(foreach target,$(gb_Top_MODULE_CHECK_TARGETS),$(1).$(tar
$(1).clean $(1).showdeliverables:
cd $(SRCDIR)/$(2) && $$(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) $$(patsubst $(1).%,%,$$@)
-$(1).all: bootstrap fetch
+$(1).allbuild: bootstrap fetch
+ $$(MAKE) $(PARALLELISM_OPTION) $(IWYU_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $(WORKDIR)/Module/$(1)
+
+$(1).allcheck: bootstrap fetch
$$(MAKE) $(PARALLELISM_OPTION) $(IWYU_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $(WORKDIR)/Module/$(1) $(WORKDIR)/Module/check/$(1) $(WORKDIR)/Module/slowcheck/$(1)
+$(1).all: $(1).allbuild
+ echo "Using 'make <module>.all' is deprecated, use 'make <module>.allcheck' (or 'make <module>.allbuild')"
+
endef
define gb_Top_GbuildModulesRules