summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-10 13:56:13 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-13 15:03:24 +0000
commit57c5d044dc16f488788584851e8b9cc0cf98e8e0 (patch)
treebd24dbab8ba81f8b838df6506a3b6fbe10e719c2 /officecfg
parent71dc8a291ecc5bdae541fce41c8895d6b3302082 (diff)
bump minimum make version to 4.0 (for $(file …) function)
This already was a requirement for Windows for a few years now, and make 4.0 was released nearly 9 years ago, and it has been used in LO's build system since it has been added 11 years ago while it was only available in prerelease versions of make, providing an alternative workaround for systems that didn't have make built from cvs… I guess it is finally time to get rid of those workarounds and just require make 4.0 for everyone. NOTE: reading files with the $(file …) function was only added with version 4.2 of GNU make, and just using it without contents was added in 4.1, so those usages aren't supported Change-Id: Ia1c2c86cfdbbd81f349bb9f7188299e16bdd155f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143910 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/CustomTarget_registry.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/officecfg/CustomTarget_registry.mk b/officecfg/CustomTarget_registry.mk
index 77803b60a25b..dd1efa6f22da 100644
--- a/officecfg/CustomTarget_registry.mk
+++ b/officecfg/CustomTarget_registry.mk
@@ -24,14 +24,7 @@ $(call gb_CustomTarget_get_workdir,officecfg/registry)/officecfg/officecfg_qa_al
$(SRCDIR)/officecfg/files.mk
$(call gb_Output_announce,officecfg_qa_allheaders.hxx,$(true),CAT,1)
$(call gb_Trace_StartRange,officecfg_qa_allheaders.hxx,CAT)
-ifeq ($(HAVE_GNUMAKE_FILE_FUNC),)
- mkdir -p $(dir $@) && \
- rm -f $@ \
- $(foreach file,$(officecfg_XCSFILES),\
- && echo "#include <officecfg/$(file).hxx>" >> $@)
-else
mv $(call gb_var2file,$(shell mkdir -p $(dir $@) && cat /dev/null >$@.tmp && echo $@.tmp),100,$(foreach file,$(officecfg_XCSFILES),$(call officecfg_geninclude,$(file)))) $@
-endif
$(call gb_Trace_EndRange,officecfg_qa_allheaders.hxx,CAT)
# pass the stem as space separated path elements and get a set of --stringparam ns<level> <element> in return