diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-19 21:47:12 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-19 21:47:12 +0000 |
commit | 6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a (patch) | |
tree | bfff7fdceadd579fa220fe58ee59053692dc5efe /Makerules | |
parent | 361742eda986901daf75169faaf648d4d132ccfb (diff) | |
download | glibc-6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a.zip glibc-6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a.tar.gz glibc-6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a.tar.bz2 |
* Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
for $(map-firstversions), which better handles it being empty.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -294,9 +294,7 @@ $(common-objpfx)Versions.all: $(..)scripts/firstversions.awk \ $(..)Versions.def \ $(wildcard $(add-ons:%=$(..)%/Versions.def)) \ $(common-objpfx)soversions.mk - { for map in $(map-firstversions); do \ - echo $$map; \ - done | sed 's/:/ : /'; \ + { $(foreach map,$(map-firstversions),echo '$(subst :, : ,$(map))';) \ cat $(filter-out $< $(common-objpfx)soversions.mk,$^); \ } | LC_ALL=C $(AWK) -f $< > $@T mv -f $@T $@ |