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.
# 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$
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