Hi, I've fixed this twice now.

the old solution:
	then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L $(srcdir)/bison/ ; \
is wrong: proof:
	[stuff]
>> /limbo/steve/devo/gcc/./../bison/bison -L ./bison/ -v ./c-parse.y -o c-parse.tab.c
>> /limbo/steve/devo/gcc/./../bison/bison: ./bison/bison.simple: No such file or directory

This solution:
	then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L \`pwd\`/$(unsubdir)/../bison$(subdir)/ ; \

works.
This commit is contained in:
Steve Chamberlain 1991-11-06 06:07:13 +00:00
parent 137c0ccfff
commit a5dc1fdbca
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#
# Last Mod Tue Nov 5 21:17:56 PST 1991, by rich@rtl.cygnus.com
# Last Mod Tue Nov 5 12:18:34 PST 1991, by rich@rtl.cygnus.com
#
# $Id$
@ -32,7 +32,7 @@ AR = ar
AR_FLAGS = cq
BISON = `if [ -d $(unsubdir)/../bison ] ; \
then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L $(srcdir)/bison/ ; \
then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L \`pwd\`/$(unsubdir)/../bison$(subdir)/ ; \
else echo yacc ; fi`
SUBDIRS = libiberty readline bfd gdb binutils ld gas gcc gnulib clib