aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-29 21:01:00 +0000
committerRoland McGrath <roland@gnu.org>2002-12-29 21:01:00 +0000
commitc7371e6e47d6c1607f1dcd6434cc1e181e5e1872 (patch)
tree471cbb4f7a55db837562f3db531a89778e0bfb04
parentaca45639578775291f1fde9d8f63629d4f72a414 (diff)
downloadglibc-c7371e6e47d6c1607f1dcd6434cc1e181e5e1872.tar
glibc-c7371e6e47d6c1607f1dcd6434cc1e181e5e1872.tar.gz
glibc-c7371e6e47d6c1607f1dcd6434cc1e181e5e1872.tar.bz2
glibc-c7371e6e47d6c1607f1dcd6434cc1e181e5e1872.zip
* Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed
pattern for prepending $(..) so it doesn't affect $(foo).
-rw-r--r--ChangeLog3
-rw-r--r--Makerules2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8823106da9..8cf0aef018 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2002-12-29 Roland McGrath <roland@redhat.com>
+ * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed
+ pattern for prepending $(..) so it doesn't affect $(foo).
+
* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).
2002-12-29 Jakub Jelinek <jakub@redhat.com>
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