diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-11-28 12:41:45 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-11-28 12:41:45 +0000 |
commit | d662eaab5446abeb96a25fb80641ab0a57bf9c38 (patch) | |
tree | bce16c6e96335d1ee94ab1839d11e5fc15040bc3 /gnu/usr.bin/binutils/gdb | |
parent | 6972414dec14d307c0cd10bb9c4312c2706c550e (diff) |
fix race: install-all can only be run *after* all is finished, otherwise
we may end up installing gdb while it's been rm -f.
okay kettenis@
Diffstat (limited to 'gnu/usr.bin/binutils/gdb')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile.in b/gnu/usr.bin/binutils/gdb/Makefile.in index abcaf2f7e09..24aaabf1fcd 100644 --- a/gnu/usr.bin/binutils/gdb/Makefile.in +++ b/gnu/usr.bin/binutils/gdb/Makefile.in @@ -1018,7 +1018,9 @@ gdb.z:gdb.1 # source file and doesn't care about rebuilding or just wants to save the # time it takes for make to check that all is up to date. # install-only is intended to address that need. -install: all install-only +install: all + @exec ${MAKE} install-only + install-only: $(CONFIG_INSTALL) transformed_name=`t='$(program_transform_name)'; \ echo gdb | sed -e "$$t"` ; \ |