1
0

disable-docs.patch 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. diff -Nur binutils-2.20.1.orig/Makefile.in binutils-2.20.1/Makefile.in
  2. --- binutils-2.20.1.orig/Makefile.in 2010-03-03 15:17:40.000000000 +0100
  3. +++ binutils-2.20.1/Makefile.in 2016-01-26 11:42:40.890964104 +0100
  4. @@ -2533,15 +2533,11 @@
  5. # in fact building texinfo.
  6. do-info: maybe-all-texinfo
  7. -install-info: do-install-info dir.info
  8. - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9. - if [ -f dir.info ] ; then \
  10. - $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
  11. - else true ; fi
  12. +install-info:
  13. -install-pdf: do-install-pdf
  14. +install-pdf:
  15. -install-html: do-install-html
  16. +install-html:
  17. local-clean:
  18. -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
  19. diff -Nur binutils-2.20.1.orig/bfd/Makefile.in binutils-2.20.1/bfd/Makefile.in
  20. --- binutils-2.20.1.orig/bfd/Makefile.in 2010-03-03 14:59:15.000000000 +0100
  21. +++ binutils-2.20.1/bfd/Makefile.in 2016-01-26 12:37:19.469828045 +0100
  22. @@ -320,7 +320,7 @@
  23. # RELEASE=y
  24. INCDIR = $(srcdir)/../include
  25. CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
  26. -SUBDIRS = doc po
  27. +SUBDIRS = po
  28. bfddocdir = doc
  29. libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \
  30. @SHARED_LDFLAGS@ $(am__empty)
  31. diff -Nur binutils-2.20.1.orig/gas/Makefile.in binutils-2.20.1/gas/Makefile.in
  32. --- binutils-2.20.1.orig/gas/Makefile.in 2010-03-03 15:00:19.000000000 +0100
  33. +++ binutils-2.20.1/gas/Makefile.in 2016-01-26 13:14:22.395769839 +0100
  34. @@ -278,7 +278,7 @@
  35. top_srcdir = @top_srcdir@
  36. AUTOMAKE_OPTIONS = 1.11 dejagnu foreign no-dist
  37. ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
  38. -SUBDIRS = doc po
  39. +SUBDIRS = po
  40. tooldir = $(exec_prefix)/$(target_alias)
  41. # Automake 1.10+ disables lex and yacc output file regeneration if
  42. diff -Nur binutils-2.20.1.orig/ld/Makefile.in binutils-2.20.1/ld/Makefile.in
  43. --- binutils-2.20.1.orig/ld/Makefile.in 2010-03-03 15:06:21.000000000 +0100
  44. +++ binutils-2.20.1/ld/Makefile.in 2016-01-26 12:53:13.726661618 +0100
  45. @@ -101,7 +101,7 @@
  46. LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  47. --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
  48. SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
  49. -INFO_DEPS = ld.info
  50. +INFO_DEPS =
  51. am__TEXINFO_TEX_DIR = $(srcdir)/$(top_srcdir)/../texinfo
  52. DVIS = ld.dvi
  53. PDFS = ld.pdf
  54. @@ -387,7 +387,7 @@
  55. info_TEXINFOS = ld.texinfo
  56. ld_TEXINFOS = configdoc.texi
  57. noinst_TEXINFOS = ldint.texinfo
  58. -man_MANS = ld.1
  59. +man_MANS =
  60. AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
  61. -I $(top_srcdir)/../libiberty