Subject: coreutils-8.20: bad dependency information with man page generation

From: Mike Frysinger <[email-masked]>
Date: Tue, 23 Oct 2012 18:27:20 -0400

if i look at vanilla coreutils-8.20, i see:
Makefile.in:man/uname.1:     src/uname.c

which seems to have originated from man/local.mk, but munged:
man/uname.1:     src/uname

this causes parallel build problems because man/uname.1 generation can get 
scheduled before src/uname has been linked.  easy way to reproduce:
        ./configure
        touch src/uname.c
        make -j
...
  GEN    man/uname.1
  CC     src/hostname.o
  CC     src/uptime.o
  CC     src/kill.o
  CC     src/groups.o
  GEN    lib/charset.alias
  GEN    lib/ref-add.sed
  GEN    lib/ref-del.sed
  CC     lib/set-mode-acl.o
  CC     lib/copy-acl.o
  CC     lib/file-has-acl.o
  CC     lib/allocator.o
help2man: can't get '--help' info from man/uname.td/uname
  CC     lib/areadlink.o
make[2]: *** [man/uname.1] Error 127
make[2]: *** Waiting for unfinished jobs....
  CC     lib/areadlink-with-size.o
-mike