(makefile-add-log-defun): Trim the result.