diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2022-12-10 15:57:36 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2022-12-13 15:05:43 +0000 |
commit | 8b87e29c987c599058a70f6a2e0259a2a4100f04 (patch) | |
tree | a364c609609dffed68147983e8ac81af538cf25d /solenv/gbuild/gbuild.mk | |
parent | dad5becaca9e5ee97a0cfbf3336461d752d6064c (diff) |
use $(file …) directly instead of gb_var2file when not used as intermediate
i.e. when the temporary file is not uses as a responsefile for another
command, but instead the point of running gb_var2file is to have that
file as a result in the end.
also move the helper into the main gbuild.mk and remove Tempfile.mk
Change-Id: I79382bef5d7e8a155ba6a8e0750c6a17da42eb37
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143912
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'solenv/gbuild/gbuild.mk')
-rw-r--r-- | solenv/gbuild/gbuild.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk index 075c029b095d..f14e9f1a1ed4 100644 --- a/solenv/gbuild/gbuild.mk +++ b/solenv/gbuild/gbuild.mk @@ -194,7 +194,10 @@ endif include $(GBUILDDIR)/ExternalExecutable.mk include $(GBUILDDIR)/TargetLocations.mk -include $(GBUILDDIR)/Tempfile.mk + +define gb_var2file +$(file >$(1),$(2))$(1) +endef $(eval $(call gb_Helper_init_registries)) include $(SRCDIR)/Repository.mk |