X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fsubstitute-vars.make;h=d310ae63a2e160a90056fa1aa26813f28a889a60;hb=d6048913c2c793a6298a3e16a1a25c76711463b1;hp=823ada299581316d58ccaaf69b5d7e10b4d0b6ca;hpb=42ab6ff971c06253b34f96ed122836ab88d09cc0;p=lilypond.git diff --git a/stepmake/stepmake/substitute-vars.make b/stepmake/stepmake/substitute-vars.make index 823ada2995..d310ae63a2 100644 --- a/stepmake/stepmake/substitute-vars.make +++ b/stepmake/stepmake/substitute-vars.make @@ -10,12 +10,12 @@ DATE = $(date) # for all FILE in AT_FILES: # substitute occurrences of @FILE@ with contents $(at-dir)BLA$(at-ext) -sed-atfiles = cat $(foreach i, $(AT_FILES), \ - | sed '/@$i@/r $(at-dir)$i$(at-ext)' | sed 's%@$i@%%g') +sed-atfiles = -e '' $(foreach i, $(AT_FILES), \ + -e '/@$i@/r $(at-dir)$i$(at-ext)' -e 's%@$i@%%g') # for all VAR in ATVARIABLES # substitute occurrences of @VAR@ with $(VAR) -sed-atvariables = cat $(foreach i, $(ATVARIABLES), | sed 's!@$i@!$($i)!g') +sed-atvariables = -e '' $(foreach i, $(ATVARIABLES), -e 's!@$i@!$($i)!g') # these are obsolete # use ATVARIABLES