Makefile.in |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit d6496fce2e51a3e44753e6b5c462824f182b48d5
Author:     Luboš Luňák <l.lu...@collabora.com>
AuthorDate: Wed Jan 12 16:21:26 2022 +0100
Commit:     Luboš Luňák <l.lu...@collabora.com>
CommitDate: Thu Jan 13 10:12:57 2022 +0100

    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.lu...@collabora.com>

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

Reply via email to