diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-05-17 19:09:52 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-05-17 19:09:52 +0000 |
commit | 25aae7f2b042fec7c42d5d0e76247095db7738f0 (patch) | |
tree | 305951b966311aa2d53ce8634e39eeb631a8d553 /src-release | |
parent | f86a87568d8533f00d5af393188707996791657e (diff) | |
download | gdb-25aae7f2b042fec7c42d5d0e76247095db7738f0.zip gdb-25aae7f2b042fec7c42d5d0e76247095db7738f0.tar.gz gdb-25aae7f2b042fec7c42d5d0e76247095db7738f0.tar.bz2 |
* src-release (MAKEINFOFLAGS): Define.
(do-proto-toplev): Pass MAKEINFOFLAGS to submakes.
Diffstat (limited to 'src-release')
-rw-r--r-- | src-release | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src-release b/src-release index 40a34d8..9b366f1 100644 --- a/src-release +++ b/src-release @@ -31,6 +31,9 @@ SHELL = /bin/sh BZIPPROG = bzip2 MD5PROG = md5sum +# (Default to avoid splitting info files by setting the threshold high.) +MAKEINFOFLAGS = --split-size=5000000 + # pwd command to use. Allow user to override default by setting PWDCMD in # the environment to account for automounters. The make variable must not # be called PWDCMD, otherwise the value set here is passed to make @@ -146,9 +149,11 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex if [ -d $$d ]; then \ if [ ! -f $$d/Makefile ] ; then true ; \ elif grep '^diststuff:' $$d/Makefile >/dev/null ; then \ - (cd $$d ; $(MAKE) diststuff ) || exit 1 ; \ + (cd $$d ; $(MAKE) MAKEINFOFLAGS="$(MAKEINFOFLAGS)" \ + diststuff ) || exit 1 ; \ elif grep '^info:' $$d/Makefile >/dev/null ; then \ - (cd $$d ; $(MAKE) info ) || exit 1 ; \ + (cd $$d ; $(MAKE) MAKEINFOFLAGS="$(MAKEINFOFLAGS)" \ + info ) || exit 1 ; \ fi ; \ if [ -d $$d/proto-$$d.dir ]; then \ ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ; \ @@ -157,7 +162,7 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex fi ; \ else ln -s ../$$d proto-toplev/$$d ; fi ; \ done - cd etc && $(MAKE) info + cd etc && $(MAKE) MAKEINFOFLAGS="$(MAKEINFOFLAGS)" info $(MAKE) distclean # Kludge for pr gdb/857. intl/Makefile.in lacks a couple # of files in the distclean rule. Zack W is planning to make |