diff --git a/officecfg/CustomTarget_registry.mk b/officecfg/CustomTarget_registry.mk index 9aa17171f0f2eb2e7e6e6ba37879260857e67b57..75071692693024937fc8cc477d5ae60e108f1949 100644 --- a/officecfg/CustomTarget_registry.mk +++ b/officecfg/CustomTarget_registry.mk @@ -29,7 +29,7 @@ ifeq ($(HAVE_GNUMAKE_FILE_FUNC),) $(foreach file,$(officecfg_XCSFILES),\ && echo "#include " >> $@) else - mv $(call var2file,$(shell mkdir -p $(dir $@) && truncate -s 0 $@.tmp && echo $@.tmp),100,$(foreach file,$(officecfg_XCSFILES),$(call officecfg_geninclude,$(file)))) $@ + mv $(call var2file,$(shell mkdir -p $(dir $@) && cat /dev/null >$@.tmp && echo $@.tmp),100,$(foreach file,$(officecfg_XCSFILES),$(call officecfg_geninclude,$(file)))) $@ endif # pass the stem as space separated path elements and get a set of --stringparam ns in return