From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20211 invoked by alias); 2 Dec 2010 17:00:43 -0000 Received: (qmail 20188 invoked by uid 22791); 2 Dec 2010 17:00:40 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,NO_DNS_FOR_FROM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga02.intel.com (HELO mga02.intel.com) (134.134.136.20) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Dec 2010 17:00:34 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 02 Dec 2010 09:00:33 -0800 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.135]) by orsmga002.jf.intel.com with ESMTP; 02 Dec 2010 09:00:33 -0800 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id C22B3181162; Thu, 2 Dec 2010 09:00:32 -0800 (PST) Date: Thu, 02 Dec 2010 17:00:00 -0000 From: "H.J. Lu" To: binutils@sourceware.org Subject: PATCH: PR binutils/12283: bfd/doc doesn't support parallel build Message-ID: <20101202170032.GA19376@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00074.txt.bz2 Hi, Any objection to this patch? Thanks. H.J. --- 2010-12-02 H.J. Lu PR binutils/12283 * doc/Makefile.am: Add proper dependency on $(MKDOC). * doc/Makefile.in: Regenerated. diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am index 201273b..6060bb1 100644 --- a/bfd/doc/Makefile.am +++ b/bfd/doc/Makefile.am @@ -72,120 +72,93 @@ protos: libbfd.h libcoff.h bfd.h # We can't replace these rules with an implicit rule, because # makes without VPATH support couldn't find the .h files in `..'. -# We do not depend on chew directly so that we can distribute the info -# files, and permit people to rebuild them, without requiring the makeinfo -# program. If somebody tries to rebuild info, but none of the .texi files -# have changed, then nothing will be rebuilt. - -aoutx.texi: chew.c $(srcdir)/../aoutx.h $(srcdir)/doc.str - $(MAKE) $(MKDOC) +aoutx.texi: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp $(SHELL) $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi -archive.texi: chew.c $(srcdir)/../archive.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +archive.texi: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp $(SHELL) $(srcdir)/../../move-if-change archive.tmp archive.texi -archures.texi: chew.c $(srcdir)/../archures.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +archures.texi: $(MKDOC) $(srcdir)/../archures.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.tmp $(SHELL) $(srcdir)/../../move-if-change archures.tmp archures.texi # We use bfdt.texi, rather than bfd.texi, to avoid conflicting with # bfd.texinfo on an 8.3 filesystem. -bfdt.texi: chew.c $(srcdir)/../bfd.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +bfdt.texi: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.tmp $(SHELL) $(srcdir)/../../move-if-change bfd.tmp bfdt.texi -cache.texi: chew.c $(srcdir)/../cache.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +cache.texi: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.tmp $(SHELL) $(srcdir)/../../move-if-change cache.tmp cache.texi -coffcode.texi: chew.c $(srcdir)/../coffcode.h $(srcdir)/doc.str - $(MAKE) $(MKDOC) +coffcode.texi: $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.tmp $(SHELL) $(srcdir)/../../move-if-change coffcode.tmp coffcode.texi -core.texi: chew.c $(srcdir)/../corefile.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +core.texi: $(MKDOC) $(srcdir)/../corefile.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.tmp $(SHELL) $(srcdir)/../../move-if-change core.tmp core.texi -elf.texi: chew.c $(srcdir)/../elf.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +elf.texi: $(MKDOC) $(srcdir)/../elf.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.tmp $(SHELL) $(srcdir)/../../move-if-change elf.tmp elf.texi -elfcode.texi: chew.c $(srcdir)/../elfcode.h $(srcdir)/doc.str - $(MAKE) $(MKDOC) +elfcode.texi: $(MKDOC) $(srcdir)/../elfcode.h $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.tmp $(SHELL) $(srcdir)/../../move-if-change elfcode.tmp elfcode.texi -mmo.texi: chew.c $(srcdir)/../mmo.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +mmo.texi: $(MKDOC) $(srcdir)/../mmo.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../mmo.c >mmo.tmp $(SHELL) $(srcdir)/../../move-if-change mmo.tmp mmo.texi -format.texi: chew.c $(srcdir)/../format.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +format.texi: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.tmp $(SHELL) $(srcdir)/../../move-if-change format.tmp format.texi -libbfd.texi: chew.c $(srcdir)/../libbfd.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +libbfd.texi: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.tmp $(SHELL) $(srcdir)/../../move-if-change libbfd.tmp libbfd.texi -bfdio.texi: chew.c $(srcdir)/../bfdio.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +bfdio.texi: $(MKDOC) $(srcdir)/../bfdio.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdio.c >bfdio.tmp $(SHELL) $(srcdir)/../../move-if-change bfdio.tmp bfdio.texi -bfdwin.texi: chew.c $(srcdir)/../bfdwin.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +bfdwin.texi: $(MKDOC) $(srcdir)/../bfdwin.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdwin.c >bfdwin.tmp $(SHELL) $(srcdir)/../../move-if-change bfdwin.tmp bfdwin.texi -opncls.texi: chew.c $(srcdir)/../opncls.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +opncls.texi: $(MKDOC) $(srcdir)/../opncls.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../opncls.c >opncls.tmp $(SHELL) $(srcdir)/../../move-if-change opncls.tmp opncls.texi -reloc.texi: chew.c $(srcdir)/../reloc.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +reloc.texi: $(MKDOC) $(srcdir)/../reloc.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.tmp $(SHELL) $(srcdir)/../../move-if-change reloc.tmp reloc.texi -section.texi: chew.c $(srcdir)/../section.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +section.texi: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.tmp $(SHELL) $(srcdir)/../../move-if-change section.tmp section.texi -syms.texi: chew.c $(srcdir)/../syms.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +syms.texi: $(MKDOC) $(srcdir)/../syms.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.tmp $(SHELL) $(srcdir)/../../move-if-change syms.tmp syms.texi -targets.texi: chew.c $(srcdir)/../targets.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +targets.texi: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.tmp $(SHELL) $(srcdir)/../../move-if-change targets.tmp targets.texi -init.texi: chew.c $(srcdir)/../init.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +init.texi: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.tmp $(SHELL) $(srcdir)/../../move-if-change init.tmp init.texi -hash.texi: chew.c $(srcdir)/../hash.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +hash.texi: $(MKDOC) $(srcdir)/../hash.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.tmp $(SHELL) $(srcdir)/../../move-if-change hash.tmp hash.texi -linker.texi: chew.c $(srcdir)/../linker.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +linker.texi: $(MKDOC) $(srcdir)/../linker.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.tmp $(SHELL) $(srcdir)/../../move-if-change linker.tmp linker.texi diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in index cce9422..c575f8e 100644 --- a/bfd/doc/Makefile.in +++ b/bfd/doc/Makefile.in @@ -770,120 +770,93 @@ protos: libbfd.h libcoff.h bfd.h # We can't replace these rules with an implicit rule, because # makes without VPATH support couldn't find the .h files in `..'. -# We do not depend on chew directly so that we can distribute the info -# files, and permit people to rebuild them, without requiring the makeinfo -# program. If somebody tries to rebuild info, but none of the .texi files -# have changed, then nothing will be rebuilt. - -aoutx.texi: chew.c $(srcdir)/../aoutx.h $(srcdir)/doc.str - $(MAKE) $(MKDOC) +aoutx.texi: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp $(SHELL) $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi -archive.texi: chew.c $(srcdir)/../archive.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +archive.texi: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp $(SHELL) $(srcdir)/../../move-if-change archive.tmp archive.texi -archures.texi: chew.c $(srcdir)/../archures.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +archures.texi: $(MKDOC) $(srcdir)/../archures.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.tmp $(SHELL) $(srcdir)/../../move-if-change archures.tmp archures.texi # We use bfdt.texi, rather than bfd.texi, to avoid conflicting with # bfd.texinfo on an 8.3 filesystem. -bfdt.texi: chew.c $(srcdir)/../bfd.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +bfdt.texi: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.tmp $(SHELL) $(srcdir)/../../move-if-change bfd.tmp bfdt.texi -cache.texi: chew.c $(srcdir)/../cache.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +cache.texi: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.tmp $(SHELL) $(srcdir)/../../move-if-change cache.tmp cache.texi -coffcode.texi: chew.c $(srcdir)/../coffcode.h $(srcdir)/doc.str - $(MAKE) $(MKDOC) +coffcode.texi: $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.tmp $(SHELL) $(srcdir)/../../move-if-change coffcode.tmp coffcode.texi -core.texi: chew.c $(srcdir)/../corefile.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +core.texi: $(MKDOC) $(srcdir)/../corefile.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.tmp $(SHELL) $(srcdir)/../../move-if-change core.tmp core.texi -elf.texi: chew.c $(srcdir)/../elf.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +elf.texi: $(MKDOC) $(srcdir)/../elf.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.tmp $(SHELL) $(srcdir)/../../move-if-change elf.tmp elf.texi -elfcode.texi: chew.c $(srcdir)/../elfcode.h $(srcdir)/doc.str - $(MAKE) $(MKDOC) +elfcode.texi: $(MKDOC) $(srcdir)/../elfcode.h $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.tmp $(SHELL) $(srcdir)/../../move-if-change elfcode.tmp elfcode.texi -mmo.texi: chew.c $(srcdir)/../mmo.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +mmo.texi: $(MKDOC) $(srcdir)/../mmo.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../mmo.c >mmo.tmp $(SHELL) $(srcdir)/../../move-if-change mmo.tmp mmo.texi -format.texi: chew.c $(srcdir)/../format.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +format.texi: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.tmp $(SHELL) $(srcdir)/../../move-if-change format.tmp format.texi -libbfd.texi: chew.c $(srcdir)/../libbfd.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +libbfd.texi: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.tmp $(SHELL) $(srcdir)/../../move-if-change libbfd.tmp libbfd.texi -bfdio.texi: chew.c $(srcdir)/../bfdio.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +bfdio.texi: $(MKDOC) $(srcdir)/../bfdio.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdio.c >bfdio.tmp $(SHELL) $(srcdir)/../../move-if-change bfdio.tmp bfdio.texi -bfdwin.texi: chew.c $(srcdir)/../bfdwin.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +bfdwin.texi: $(MKDOC) $(srcdir)/../bfdwin.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdwin.c >bfdwin.tmp $(SHELL) $(srcdir)/../../move-if-change bfdwin.tmp bfdwin.texi -opncls.texi: chew.c $(srcdir)/../opncls.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +opncls.texi: $(MKDOC) $(srcdir)/../opncls.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../opncls.c >opncls.tmp $(SHELL) $(srcdir)/../../move-if-change opncls.tmp opncls.texi -reloc.texi: chew.c $(srcdir)/../reloc.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +reloc.texi: $(MKDOC) $(srcdir)/../reloc.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.tmp $(SHELL) $(srcdir)/../../move-if-change reloc.tmp reloc.texi -section.texi: chew.c $(srcdir)/../section.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +section.texi: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.tmp $(SHELL) $(srcdir)/../../move-if-change section.tmp section.texi -syms.texi: chew.c $(srcdir)/../syms.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +syms.texi: $(MKDOC) $(srcdir)/../syms.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.tmp $(SHELL) $(srcdir)/../../move-if-change syms.tmp syms.texi -targets.texi: chew.c $(srcdir)/../targets.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +targets.texi: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.tmp $(SHELL) $(srcdir)/../../move-if-change targets.tmp targets.texi -init.texi: chew.c $(srcdir)/../init.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +init.texi: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.tmp $(SHELL) $(srcdir)/../../move-if-change init.tmp init.texi -hash.texi: chew.c $(srcdir)/../hash.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +hash.texi: $(MKDOC) $(srcdir)/../hash.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.tmp $(SHELL) $(srcdir)/../../move-if-change hash.tmp hash.texi -linker.texi: chew.c $(srcdir)/../linker.c $(srcdir)/doc.str - $(MAKE) $(MKDOC) +linker.texi: $(MKDOC) $(srcdir)/../linker.c $(srcdir)/doc.str ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.tmp $(SHELL) $(srcdir)/../../move-if-change linker.tmp linker.texi