makefile: use SED from configure in most places.
Some simple cases are left alone, but anything called from make uses $SED.
This commit is contained in:
committed by
Rusty Russell
parent
23784a4ebd
commit
7b1c4874ed
@@ -277,9 +277,9 @@ plugins/sql-schema_gen.h: $(SQL_SCHEMA_PARTS)
|
||||
SEP=""; \
|
||||
echo "\"{"; \
|
||||
for l in $(SQL_LISTRPCS); do \
|
||||
echo "$$SEP\"$$l\":{\"properties\":$$(cat plugins/sql-schema_$${l}_gen.h)}" | sed s/\"/\\\"/g; \
|
||||
echo "$$SEP\"$$l\":{\"properties\":$$(cat plugins/sql-schema_$${l}_gen.h)}" | $(SED) s/\"/\\\"/g; \
|
||||
SEP=","; \
|
||||
done | sed "s/\\\"/\\\\\"/g"; \
|
||||
done | $(SED) "s/\\\"/\\\\\"/g"; \
|
||||
echo "}\"") | tr -d " \n" > $@ \
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user