propogate MAKEINFO like we propogate BISON
authorK. Richard Pixley <rich@cygnus>
Wed, 13 Nov 1991 09:23:05 +0000 (09:23 +0000)
committerK. Richard Pixley <rich@cygnus>
Wed, 13 Nov 1991 09:23:05 +0000 (09:23 +0000)
Makefile.in

index 257bfbd2cdb7b97abde7e2d9651b986603b93365..8cb1da3f133c9bd20cede7b7e57809d0f81130d1 100644 (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 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 ; \