diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-11-10 09:38:27 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-11-10 09:38:27 +0000 |
commit | 9abf55c24c31a53d987ebf53e46cbd64eab417bc (patch) | |
tree | 15f35d8593a250d25b17a593b73a451ed20d0bd9 /sysdeps/gnu/Makefile | |
parent | 3504bb650f48534549bbd0313dc15fa71455e302 (diff) |
2.3.3-76cvs/fedora-glibc-2_3_3-76
Diffstat (limited to 'sysdeps/gnu/Makefile')
-rw-r--r-- | sysdeps/gnu/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile index dee0c67bcf..0fc33213ae 100644 --- a/sysdeps/gnu/Makefile +++ b/sysdeps/gnu/Makefile @@ -49,10 +49,14 @@ endif # Make it unwritable so noone will edit it by mistake. -chmod a-w $@T mv -f $@T $@ -generated += errlist-compat.c +$(objpfx)errlist-compat.h: $(objpfx)errlist-compat.c + sed -n '1p;/ERR_MAX/p' $< > $@T + -chmod a-w $@T + mv -f $@T $@ +generated += errlist-compat.c errlist-compat.h # This will force the generation above to happy if need be. -$(foreach o,.d $(object-suffixes),$(objpfx)errlist$o):$(objpfx)errlist-compat.c +$(foreach o,.d $(object-suffixes),$(objpfx)errlist$o):$(objpfx)errlist-compat.h endif ifeq ($(subdir),login) |