[4026] in Athena Bugs
rt 6.4R: inconsistent documentation and executable for MAKE
daemon@ATHENA.MIT.EDU (Michael A. Fetterman)
Sun Jan 21 02:39:03 1990
To: bugs@ATHENA.MIT.EDU
Date: Sun, 21 Jan 90 02:38:45 EST
From: Michael A. Fetterman <mafetter@ATHENA.MIT.EDU>
System name: E40-008-8
Type and version: RTPC-ROMPC 6.4R
Display type:
What were you trying to do?
Building a makefile.
What's wrong:
The current man page for make says that $< should expand to the
full list of prereqs for a given target. Currently it seems to
expand to the null string.
What should have happened:
Either the documentation should have not mislead me, or the full
list of prereqs should have been substituted for $<...
I suspect the documentation is simply out-of-date.
Please describe any relevant documentation references:
/usr/man/man1/make.1
Sample:
Create a dummy file foo and a makefile.
unix% cp /dev/null foo
unix% cat << 'EOF' > Makefile
bar: foo
echo $<
'EOF'
unix% make
echo
unix% ......
I would have expected it to be "echo foo".