disable-docs.patch 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. diff -Nur gcc-4.6.4.orig/gcc/Makefile.in gcc-4.6.4/gcc/Makefile.in
  2. --- gcc-4.6.4.orig/gcc/Makefile.in 2013-04-01 10:32:34.000000000 +0200
  3. +++ gcc-4.6.4/gcc/Makefile.in 2019-10-12 10:29:06.957489009 +0200
  4. @@ -1791,10 +1791,10 @@
  5. quickstrap: all
  6. cd $(toplevel_builddir) && $(MAKE) all-target-libgcc
  7. -all.internal: start.encap rest.encap doc
  8. +all.internal: start.encap rest.encap
  9. # This is what to compile if making a cross-compiler.
  10. all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \
  11. - libgcc-support lang.all.cross doc @GENINSRC@ srcextra
  12. + libgcc-support lang.all.cross @GENINSRC@ srcextra
  13. # This is what must be made before installing GCC and converting libraries.
  14. start.encap: native xgcc$(exeext) cpp$(exeext) specs \
  15. libgcc-support lang.start.encap @GENINSRC@ srcextra
  16. @@ -4199,43 +4199,27 @@
  17. #
  18. # Remake the info files.
  19. -doc: $(BUILD_INFO) $(GENERATED_MANPAGES)
  20. +doc:
  21. -INFOFILES = doc/cpp.info doc/gcc.info doc/gccint.info \
  22. - doc/gccinstall.info doc/cppinternals.info
  23. +INFOFILES =
  24. -info: $(INFOFILES) lang.info @GENINSRC@ srcinfo lang.srcinfo
  25. +info:
  26. -srcinfo: $(INFOFILES)
  27. - -cp -p $^ $(srcdir)/doc
  28. +srcinfo:
  29. -TEXI_CPP_FILES = cpp.texi fdl.texi cppenv.texi cppopts.texi \
  30. - gcc-common.texi gcc-vers.texi
  31. +TEXI_CPP_FILES =
  32. -TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \
  33. - standards.texi invoke.texi extend.texi md.texi objc.texi \
  34. - gcov.texi trouble.texi bugreport.texi service.texi \
  35. - contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi \
  36. - fdl.texi contrib.texi cppenv.texi cppopts.texi \
  37. - implement-c.texi implement-cxx.texi arm-neon-intrinsics.texi
  38. +TEXI_GCC_FILES =
  39. # we explicitly use $(srcdir)/doc/tm.texi here to avoid confusion with
  40. # the generated tm.texi; the latter might have a more recent timestamp,
  41. # but we don't want to rebuild the info files unless the contents of
  42. # the *.texi files have changed.
  43. -TEXI_GCCINT_FILES = gccint.texi gcc-common.texi gcc-vers.texi \
  44. - contribute.texi makefile.texi configterms.texi options.texi \
  45. - portability.texi interface.texi passes.texi rtl.texi md.texi \
  46. - $(srcdir)/doc/tm.texi hostconfig.texi fragments.texi \
  47. - configfiles.texi collect2.texi headerdirs.texi funding.texi \
  48. - gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi \
  49. - sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi \
  50. - loop.texi generic.texi gimple.texi plugins.texi
  51. +TEXI_GCCINT_FILES =
  52. -TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi \
  53. - gcc-common.texi gcc-vers.texi
  54. +TEXI_GCCINSTALL_FILES =
  55. -TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
  56. +TEXI_CPPINT_FILES =
  57. # gcc-vers.texi is generated from the version files.
  58. gcc-vers.texi: $(BASEVER) $(DEVPHASE)
  59. @@ -4342,7 +4326,7 @@
  60. generated-manpages: man
  61. -man: $(MANFILES) lang.man @GENINSRC@ srcman lang.srcman
  62. +man:
  63. srcman: $(MANFILES)
  64. -cp -p $^ $(srcdir)/doc