From c7371e6e47d6c1607f1dcd6434cc1e181e5e1872 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 29 Dec 2002 21:01:00 +0000 Subject: * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed pattern for prepending $(..) so it doesn't affect $(foo). --- Makerules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index 6f5eacf454..f4fed9f81f 100644 --- a/Makerules +++ b/Makerules @@ -1186,7 +1186,7 @@ $(common-objpfx)%.h $(common-objpfx)%.h.d: $(..)scripts/gen-as-const.awk %.sym -MD -MF $(@:.h=.h.d)T -MT '$(@:.h=.h.d) $(@:.h.d=.h)' \ | sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$$/#define \1 \2/p' > $(@:.h.d=.h)T sed $(sed-remove-objpfx) \ - -e 's@ *\([^ \/][^ \]*\)@ $$(..)\1@g' \ + -e 's@ *\([^ \/$$][^ \]*\)@ $$(..)\1@g' \ -e 's@ *\.\.\/\([^ \]*\)@ $$(..)\1@g' \ $(@:.h=.h.d)T > $(@:.h=.h.d)T2 rm -f $(@:.h=.h.d)T -- cgit v1.2.1