The words boundary finding have sometimes not allow to eliminate whole
value part. The separators (spaces or tabulator characters) are converted
to newlines first now and whole lines are processed then.
darcs-hash:
20070916154019-ff715-
fbae584556617a07d1d6bc580d82ca9c741e547f.gz
$(if $(DOXYGEN),@echo "/** @file */" >> "$(1).tmp")
@echo "#ifndef $(3)" >> "$(1).tmp"
@echo "#define $(3)" >> "$(1).tmp"
- @( $(foreach x, $(shell echo '$($(2))' | sed -e 's/\<\([^ =]*\)\(=[^ ]\+\|\)\>/\1/g' ), \
+ @( $(foreach x, $(shell echo '$($(2))' | sed -e 's/[ \t]/\n/g' | sed -e 's/^\([^ =]*\)\(=[^ ]\+\|\)$$/\1/' ), \
echo '$(x).$($(x))' ; ) echo ; ) | \
sed -e '/^[^.]*\.n$$$$/d' -e '/^[^.]*\.$$$$/d' -e 's/^\([^.]*\)\.[ym]$$$$/\1.1/' | \
sed -n -e 's/^\([^.]*\)\.\(.*\)$$$$/#define \1 \2/p' \