From b772d75ef55f73f80c2037490f9019c68505868f Mon Sep 17 00:00:00 2001
From: "K. Richard Pixley" <rich@cygnus>
Date: Wed, 13 Nov 1991 09:23:05 +0000
Subject: [PATCH] propogate MAKEINFO like we propogate BISON

---
 Makefile.in | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 257bfbd2cdb..8cb1da3f133 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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 12 22:24:08 PST 1991, by rich@cygnus.com
+# Last Mod Wed Nov 13 01:00:48 PST 1991, by rich@cygnus.com
 #
 # $Id$
 
@@ -35,6 +35,10 @@ BISON = `if [ -d $(unsubdir)/../bison ] ; \
 	then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L \`pwd\`/$(unsubdir)/../bison$(subdir)/ ; \
 	else echo yacc ; fi`
 
+MAKEINFO = `if [ -d $(unsubdir)/../texinfo/C ] ; \
+	then echo \`pwd\`/$(unsubdir)/../texinfo/C$(subdir)/makeinfo ; \
+	else echo echo ; fi`
+
 #\`(cd $(srcdir)/bison ; \\`pwd\\`)\`
 SUBDIRS = libiberty readline bfd gdb binutils ld gas gcc gnulib clib
 OTHERS = 
@@ -66,7 +70,9 @@ subdir_do: force
 			if (cd $(unsubdir)/$$i$(subdir); \
 				$(MAKE) \
 					"against=$(against)" \
-					"BISON=$(BISON)" $(DO)) ; then true ; \
+					"BISON=$(BISON)" \
+					"MAKEINFO=$(MAKEINFO)" \
+					$(DO)) ; then true ; \
 				else exit 1 ; fi ; \
 		else if [ -d $(unsubdir)/$$i ] ; then \
 			if (cd $(unsubdir)/$$i$(subdir); \
@@ -78,7 +84,9 @@ subdir_do: force
 					"RANLIB=$(RANLIB)" \
 					"LOADLIBES=$(LOADLIBES)" \
 					"LDFLAGS=$(LDFLAGS)" \
-					"BISON=$(BISON)" $(DO)) ; then true ; \
+					"BISON=$(BISON)" \
+					"MAKEINFO=$(MAKEINFO)" \
+					$(DO)) ; then true ; \
 			else exit 1 ; fi ; \
 		else true ; fi ; \
 	fi ; \