diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-08-04 20:51:44 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-08-04 20:51:44 +0000 |
commit | 9452e30a05dd79850be35ba9886992f482761b1e (patch) | |
tree | 386776084a3fc4a14b2d560865dde715431d5e88 /posix | |
parent | e08057b1ff24258dd7460ad81e84491f7a28b424 (diff) | |
download | glibc-9452e30a05dd79850be35ba9886992f482761b1e.tar.gz glibc-9452e30a05dd79850be35ba9886992f482761b1e.tar.xz glibc-9452e30a05dd79850be35ba9886992f482761b1e.zip |
Updated to fedora-glibc-20070804T2027
Diffstat (limited to 'posix')
-rw-r--r-- | posix/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/posix/Makefile b/posix/Makefile index 9fe107afff..c9b61bb4e9 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -291,13 +291,14 @@ bug-glob2-ENV = MALLOC_TRACE=$(objpfx)bug-glob2.mtrace $(objpfx)bug-glob2-mem: $(objpfx)bug-glob2.out $(common-objpfx)malloc/mtrace $(objpfx)bug-glob2.mtrace > $@ -$(inst_libexecdir)/getconf: $(objpfx)getconf $(objpfx)getconf.speclist FORCE +$(inst_libexecdir)/getconf: $(inst_bindir)/getconf \ + $(objpfx)getconf.speclist FORCE $(addprefix $(..)./scripts/mkinstalldirs ,\ $(filter-out $(wildcard $@),$@)) - for spec in `cat $(objpfx)getconf.speclist`; do \ - $(INSTALL_PROGRAM) $< $@/$$spec.new; \ + while read spec; do \ + ln -f $< $@/$$spec.new || $(INSTALL_PROGRAM) $< $@/$$spec.new; \ mv -f $@/$$spec.new $@/$$spec; \ - done + done < $(objpfx)getconf.speclist $(objpfx)getconf.speclist: getconf.speclist.h $(CC) -E $(CFLAGS) $(CPPFLAGS) $< \ |