Makefile.gbuild |    5 +++++
 Makefile.in     |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit d117e3a45e662ac45b96c940459101376445a811
Author:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
AuthorDate: Thu Dec 15 18:38:35 2022 +0100
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Thu Dec 15 22:10:23 2022 +0000

    create pocheck convenience target
    
    it's usually run bypassing all the dependencies & make parsing using
    
    LD_LIBRARY_PATH=instdir/program make cmd cmd='ALL_LANGS="$(ALL_LANGS)" 
workdir/LinkTarget/Executable/pocheck'
    
    but it doesn't hurt to also have it as a dedicated target
    
    Change-Id: I742373eb0e4d87ea22c80da0dcaaba7116cd2937
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144250
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

diff --git a/Makefile.gbuild b/Makefile.gbuild
index 37e787abe1b9..88279b16c7ff 100644
--- a/Makefile.gbuild
+++ b/Makefile.gbuild
@@ -62,4 +62,9 @@ create-partial-info:
        $(eval MAR_NAME_PREFIX := 
$(PRODUCTNAME)_$(VERSION)_$(PLATFORM)_$(BUILDID))
        MBSDIFF=$(WORKDIR)/LinkTarget/Executable/mbsdiff 
MAR=$(INSTDIR)/program/mar $(SRCDIR)/bin/update/create_partial_update.py 
"$(WORKDIR)" "$(MAR_NAME_PREFIX)" "$(UPDATE_CONFIG)" "$(PLATFORM)" "$(BUILDID)"
 
+# also possible to bypass the dependencies/the gbuild processing by just 
running
+# LD_LIBRARY_PATH=instdir/program make cmd cmd='ALL_LANGS="$(ALL_LANGS)" 
workdir/LinkTarget/Executable/pocheck'
+pocheck: | $(call gb_Executable_get_runtime_target,pocheck)
+       ALL_LANGS="$(ALL_LANGS)" $(call gb_Executable_get_command,pocheck) 2>&1 
| tee $${POCHECK_LOG:-/tmp/pocheck.log}
+
 # vim: set noet sw=4 ts=4:
diff --git a/Makefile.in b/Makefile.in
index 74acf9542e94..321df930b915 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -293,7 +293,7 @@ endif
 
 build-non-l10n-only build-l10n-only check debugrun translations packageinfo 
coverage $(gb_Top_MODULE_CHECK_TARGETS): build
 
-help showmodules gbuildtojson:
+help showmodules gbuildtojson pocheck:
        $(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f 
$(SRCDIR)/Makefile.gbuild $@
 
 cross-toolset: bootstrap fetch install-gdb-printers

Reply via email to