diff -ur binutils-2.25/bfd/doc/Makefile.am binutils-2.25/bfd/doc/Makefile.am --- binutils-2.25/bfd/doc/Makefile.am 2014-10-14 09:32:02.000000000 +0200 +++ binutils-2.25/bfd/doc/Makefile.am 2014-10-14 09:32:02.000000000 +0200 @@ -97,18 +97,21 @@ aoutx.texi: aoutx.stamp ; @true aoutx.stamp: $(srcdir)/../aoutx.h $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >aoutx.tmp + [ -f $(srcdir)/aoutx.texi -a ! -e aoutx.texi ] && cp -a $(srcdir)/aoutx.texi . $(SHELL) $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi touch $@ archive.texi: archive.stamp ; @true archive.stamp: $(srcdir)/../archive.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >archive.tmp + [ -f $(srcdir)/archive.texi -a ! -e archive.texi ] && cp -a $(srcdir)/archive.texi . $(SHELL) $(srcdir)/../../move-if-change archive.tmp archive.texi touch $@ archures.texi: archures.stamp ; @true archures.stamp: $(srcdir)/../archures.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >archures.tmp + [ -f $(srcdir)/archures.texi -a ! -e archures.texi ] && cp -a $(srcdir)/archures.texi . $(SHELL) $(srcdir)/../../move-if-change archures.tmp archures.texi touch $@ @@ -117,114 +120,133 @@ bfdt.texi: bfdt.stamp ; @true bfdt.stamp: $(srcdir)/../bfd.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfd.tmp + [ -f $(srcdir)/bfdt.texi -a ! -e bfdt.texi ] && cp -a $(srcdir)/bfdt.texi . $(SHELL) $(srcdir)/../../move-if-change bfd.tmp bfdt.texi touch $@ cache.texi: cache.stamp ; @true cache.stamp: $(srcdir)/../cache.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >cache.tmp + [ -f $(srcdir)/cache.texi -a ! -e cache.texi ] && cp -a $(srcdir)/cache.texi . $(SHELL) $(srcdir)/../../move-if-change cache.tmp cache.texi touch $@ coffcode.texi: coffcode.stamp ; @true coffcode.stamp: $(srcdir)/../coffcode.h $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >coffcode.tmp + [ -f $(srcdir)/coffcode.texi -a ! -e coffcode.texi ] && cp -a $(srcdir)/coffcode.texi . $(SHELL) $(srcdir)/../../move-if-change coffcode.tmp coffcode.texi touch $@ core.texi: core.stamp ; @true core.stamp: $(srcdir)/../corefile.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >core.tmp + [ -f $(srcdir)/core.texi -a ! -e core.texi ] && cp -a $(srcdir)/core.texi . $(SHELL) $(srcdir)/../../move-if-change core.tmp core.texi touch $@ elf.texi: elf.stamp ; @true elf.stamp: $(srcdir)/../elf.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >elf.tmp + [ -f $(srcdir)/elf.texi -a ! -e elf.texi ] && cp -a $(srcdir)/elf.texi . $(SHELL) $(srcdir)/../../move-if-change elf.tmp elf.texi touch $@ elfcode.texi: elfcode.stamp ; @true elfcode.stamp: $(srcdir)/../elfcode.h $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >elfcode.tmp + [ -f $(srcdir)/elfcode.texi -a ! -e elfcode.texi ] && cp -a $(srcdir)/elfcode.texi . $(SHELL) $(srcdir)/../../move-if-change elfcode.tmp elfcode.texi touch $@ mmo.texi: mmo.stamp ; @true mmo.stamp: $(srcdir)/../mmo.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >mmo.tmp + [ -f $(srcdir)/mmo.texi -a ! -e mmo.texi ] && cp -a $(srcdir)/mmo.texi . $(SHELL) $(srcdir)/../../move-if-change mmo.tmp mmo.texi touch $@ format.texi: format.stamp ; @true format.stamp: $(srcdir)/../format.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >format.tmp + [ -f $(srcdir)/format.texi -a ! -e format.texi ] && cp -a $(srcdir)/format.texi . $(SHELL) $(srcdir)/../../move-if-change format.tmp format.texi touch $@ libbfd.texi: libbfd.stamp ; @true libbfd.stamp: $(srcdir)/../libbfd.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >libbfd.tmp + [ -f $(srcdir)/libbfd.texi -a ! -e libbfd.texi ] && cp -a $(srcdir)/libbfd.texi . $(SHELL) $(srcdir)/../../move-if-change libbfd.tmp libbfd.texi touch $@ bfdio.texi: bfdio.stamp ; @true bfdio.stamp: $(srcdir)/../bfdio.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfdio.tmp + [ -f $(srcdir)/bfdio.texi -a ! -e bfdio.texi ] && cp -a $(srcdir)/bfdio.texi . $(SHELL) $(srcdir)/../../move-if-change bfdio.tmp bfdio.texi touch $@ bfdwin.texi: bfdwin.stamp ; @true bfdwin.stamp: $(srcdir)/../bfdwin.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfdwin.tmp + [ -f $(srcdir)/bfdwin.texi -a ! -e bfdwin.texi ] && cp -a $(srcdir)/bfdwin.texi . $(SHELL) $(srcdir)/../../move-if-change bfdwin.tmp bfdwin.texi touch $@ opncls.texi: opncls.stamp ; @true opncls.stamp: $(srcdir)/../opncls.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >opncls.tmp + [ -f $(srcdir)/opncls.texi -a ! -e opncls.texi ] && cp -a $(srcdir)/opncls.texi . $(SHELL) $(srcdir)/../../move-if-change opncls.tmp opncls.texi touch $@ reloc.texi: reloc.stamp ; @true reloc.stamp: $(srcdir)/../reloc.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >reloc.tmp + [ -f $(srcdir)/reloc.texi -a ! -e reloc.texi ] && cp -a $(srcdir)/reloc.texi . $(SHELL) $(srcdir)/../../move-if-change reloc.tmp reloc.texi touch $@ section.texi: section.stamp ; @true section.stamp: $(srcdir)/../section.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >section.tmp + [ -f $(srcdir)/section.texi -a ! -e section.texi ] && cp -a $(srcdir)/section.texi . $(SHELL) $(srcdir)/../../move-if-change section.tmp section.texi touch $@ syms.texi: syms.stamp ; @true syms.stamp: $(srcdir)/../syms.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >syms.tmp + [ -f $(srcdir)/syms.texi -a ! -e syms.texi ] && cp -a $(srcdir)/syms.texi . $(SHELL) $(srcdir)/../../move-if-change syms.tmp syms.texi touch $@ targets.texi: targets.stamp ; @true targets.stamp: $(srcdir)/../targets.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >targets.tmp + [ -f $(srcdir)/targets.texi -a ! -e targets.texi ] && cp -a $(srcdir)/targets.texi . $(SHELL) $(srcdir)/../../move-if-change targets.tmp targets.texi touch $@ init.texi: init.stamp ; @true init.stamp: $(srcdir)/../init.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >init.tmp + [ -f $(srcdir)/init.texi -a ! -e init.texi ] && cp -a $(srcdir)/init.texi . $(SHELL) $(srcdir)/../../move-if-change init.tmp init.texi touch $@ hash.texi: hash.stamp ; @true hash.stamp: $(srcdir)/../hash.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >hash.tmp + [ -f $(srcdir)/hash.texi -a ! -e hash.texi ] && cp -a $(srcdir)/hash.texi . $(SHELL) $(srcdir)/../../move-if-change hash.tmp hash.texi touch $@ linker.texi: linker.stamp ; @true linker.stamp: $(srcdir)/../linker.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >linker.tmp + [ -f $(srcdir)/linker.texi -a ! -e linker.texi ] && cp -a $(srcdir)/linker.texi . $(SHELL) $(srcdir)/../../move-if-change linker.tmp linker.texi touch $@ diff -ur binutils-2.25/bfd/doc/Makefile.in binutils-2.25/bfd/doc/Makefile.in --- binutils-2.25/bfd/doc/Makefile.in 2014-10-14 09:32:02.000000000 +0200 +++ binutils-2.25/bfd/doc/Makefile.in 2014-10-14 09:32:02.000000000 +0200 @@ -796,18 +796,21 @@ aoutx.texi: aoutx.stamp ; @true aoutx.stamp: $(srcdir)/../aoutx.h $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >aoutx.tmp + [ -f $(srcdir)/aoutx.texi -a ! -e aoutx.texi ] && cp -a $(srcdir)/aoutx.texi . $(SHELL) $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi touch $@ archive.texi: archive.stamp ; @true archive.stamp: $(srcdir)/../archive.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >archive.tmp + [ -f $(srcdir)/archive.texi -a ! -e archive.texi ] && cp -a $(srcdir)/archive.texi . $(SHELL) $(srcdir)/../../move-if-change archive.tmp archive.texi touch $@ archures.texi: archures.stamp ; @true archures.stamp: $(srcdir)/../archures.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >archures.tmp + [ -f $(srcdir)/archures.texi -a ! -e archures.texi ] && cp -a $(srcdir)/archures.texi . $(SHELL) $(srcdir)/../../move-if-change archures.tmp archures.texi touch $@ @@ -816,114 +819,133 @@ bfdt.texi: bfdt.stamp ; @true bfdt.stamp: $(srcdir)/../bfd.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfd.tmp + [ -f $(srcdir)/bfdt.texi -a ! -e bfdt.texi ] && cp -a $(srcdir)/bfdt.texi . $(SHELL) $(srcdir)/../../move-if-change bfd.tmp bfdt.texi touch $@ cache.texi: cache.stamp ; @true cache.stamp: $(srcdir)/../cache.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >cache.tmp + [ -f $(srcdir)/cache.texi -a ! -e cache.texi ] && cp -a $(srcdir)/cache.texi . $(SHELL) $(srcdir)/../../move-if-change cache.tmp cache.texi touch $@ coffcode.texi: coffcode.stamp ; @true coffcode.stamp: $(srcdir)/../coffcode.h $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >coffcode.tmp + [ -f $(srcdir)/coffcode.texi -a ! -e coffcode.texi ] && cp -a $(srcdir)/coffcode.texi . $(SHELL) $(srcdir)/../../move-if-change coffcode.tmp coffcode.texi touch $@ core.texi: core.stamp ; @true core.stamp: $(srcdir)/../corefile.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >core.tmp + [ -f $(srcdir)/core.texi -a ! -e core.texi ] && cp -a $(srcdir)/core.texi . $(SHELL) $(srcdir)/../../move-if-change core.tmp core.texi touch $@ elf.texi: elf.stamp ; @true elf.stamp: $(srcdir)/../elf.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >elf.tmp + [ -f $(srcdir)/elf.texi -a ! -e elf.texi ] && cp -a $(srcdir)/elf.texi . $(SHELL) $(srcdir)/../../move-if-change elf.tmp elf.texi touch $@ elfcode.texi: elfcode.stamp ; @true elfcode.stamp: $(srcdir)/../elfcode.h $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >elfcode.tmp + [ -f $(srcdir)/elfcode.texi -a ! -e elfcode.texi ] && cp -a $(srcdir)/elfcode.texi . $(SHELL) $(srcdir)/../../move-if-change elfcode.tmp elfcode.texi touch $@ mmo.texi: mmo.stamp ; @true mmo.stamp: $(srcdir)/../mmo.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >mmo.tmp + [ -f $(srcdir)/mmo.texi -a ! -e mmo.texi ] && cp -a $(srcdir)/mmo.texi . $(SHELL) $(srcdir)/../../move-if-change mmo.tmp mmo.texi touch $@ format.texi: format.stamp ; @true format.stamp: $(srcdir)/../format.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >format.tmp + [ -f $(srcdir)/format.texi -a ! -e format.texi ] && cp -a $(srcdir)/format.texi . $(SHELL) $(srcdir)/../../move-if-change format.tmp format.texi touch $@ libbfd.texi: libbfd.stamp ; @true libbfd.stamp: $(srcdir)/../libbfd.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >libbfd.tmp + [ -f $(srcdir)/libbfd.texi -a ! -e libbfd.texi ] && cp -a $(srcdir)/libbfd.texi . $(SHELL) $(srcdir)/../../move-if-change libbfd.tmp libbfd.texi touch $@ bfdio.texi: bfdio.stamp ; @true bfdio.stamp: $(srcdir)/../bfdio.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfdio.tmp + [ -f $(srcdir)/bfdio.texi -a ! -e bfdio.texi ] && cp -a $(srcdir)/bfdio.texi . $(SHELL) $(srcdir)/../../move-if-change bfdio.tmp bfdio.texi touch $@ bfdwin.texi: bfdwin.stamp ; @true bfdwin.stamp: $(srcdir)/../bfdwin.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >bfdwin.tmp + [ -f $(srcdir)/bfdwin.texi -a ! -e bfdwin.texi ] && cp -a $(srcdir)/bfdwin.texi . $(SHELL) $(srcdir)/../../move-if-change bfdwin.tmp bfdwin.texi touch $@ opncls.texi: opncls.stamp ; @true opncls.stamp: $(srcdir)/../opncls.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >opncls.tmp + [ -f $(srcdir)/opncls.texi -a ! -e opncls.texi ] && cp -a $(srcdir)/opncls.texi . $(SHELL) $(srcdir)/../../move-if-change opncls.tmp opncls.texi touch $@ reloc.texi: reloc.stamp ; @true reloc.stamp: $(srcdir)/../reloc.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >reloc.tmp + [ -f $(srcdir)/reloc.texi -a ! -e reloc.texi ] && cp -a $(srcdir)/reloc.texi . $(SHELL) $(srcdir)/../../move-if-change reloc.tmp reloc.texi touch $@ section.texi: section.stamp ; @true section.stamp: $(srcdir)/../section.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >section.tmp + [ -f $(srcdir)/section.texi -a ! -e section.texi ] && cp -a $(srcdir)/section.texi . $(SHELL) $(srcdir)/../../move-if-change section.tmp section.texi touch $@ syms.texi: syms.stamp ; @true syms.stamp: $(srcdir)/../syms.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >syms.tmp + [ -f $(srcdir)/syms.texi -a ! -e syms.texi ] && cp -a $(srcdir)/syms.texi . $(SHELL) $(srcdir)/../../move-if-change syms.tmp syms.texi touch $@ targets.texi: targets.stamp ; @true targets.stamp: $(srcdir)/../targets.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >targets.tmp + [ -f $(srcdir)/targets.texi -a ! -e targets.texi ] && cp -a $(srcdir)/targets.texi . $(SHELL) $(srcdir)/../../move-if-change targets.tmp targets.texi touch $@ init.texi: init.stamp ; @true init.stamp: $(srcdir)/../init.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >init.tmp + [ -f $(srcdir)/init.texi -a ! -e init.texi ] && cp -a $(srcdir)/init.texi . $(SHELL) $(srcdir)/../../move-if-change init.tmp init.texi touch $@ hash.texi: hash.stamp ; @true hash.stamp: $(srcdir)/../hash.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >hash.tmp + [ -f $(srcdir)/hash.texi -a ! -e hash.texi ] && cp -a $(srcdir)/hash.texi . $(SHELL) $(srcdir)/../../move-if-change hash.tmp hash.texi touch $@ linker.texi: linker.stamp ; @true linker.stamp: $(srcdir)/../linker.c $(srcdir)/doc.str $(MKDOC) ./$(MKDOC) -f $(srcdir)/doc.str < $< >linker.tmp + [ -f $(srcdir)/linker.texi -a ! -e linker.texi ] && cp -a $(srcdir)/linker.texi . $(SHELL) $(srcdir)/../../move-if-change linker.tmp linker.texi touch $@