From: Clifford Wolf Date: Wed, 27 Aug 2014 10:13:53 +0000 (+0200) Subject: Fixed printing of multi-line Makefile.conf X-Git-Tag: yosys-0.4~203 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfb43383198aeb59e461bc0565a9a178d2ae6f01;p=yosys.git Fixed printing of multi-line Makefile.conf --- diff --git a/Makefile b/Makefile index fa42cf7d0..49a387263 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,13 @@ OBJS = kernel/version_$(GIT_REV).o ABCREV = 4d547a5e065b ABCPULL = 1 +define newline + + +endef + ifneq ($(wildcard Makefile.conf),) -$(info $(shell sed 's,^,[Makefile.conf] ,' < Makefile.conf)) +$(info $(subst $$--$$,$(newline),$(shell sed 's,^,[Makefile.conf] ,; s,$$,$$--$$,;' < Makefile.conf | tr -d '\n' | sed 's,\$$--\$$$$,,'))) include Makefile.conf endif