Kaydet (Commit) e00cb333 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

use $(file in gbuild when available

üst fd83e6cb
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
ifeq ($(HAVE_GNUMAKE_FILE_FUNC),YES)
define var2file
$(file >$(1),$(3))
endef
else
# Write string to temporary file by chopping into pieces that
# fit the commandline
# parameters: filename, maxitems (for one write), string
......@@ -16,5 +22,6 @@ $(foreach item,$(3),$(eval gb_var2file_curblock += $(item)
gb_var2file_curblock :=
))
endef
endif
# vim: set noet sw=4 ts=4:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment