1
0

disable-docs.patch 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. diff -Nur gcc-4.4.7.orig/gcc/Makefile.in gcc-4.4.7/gcc/Makefile.in
  2. --- gcc-4.4.7.orig/gcc/Makefile.in 2010-09-07 13:07:31.000000000 +0200
  3. +++ gcc-4.4.7/gcc/Makefile.in 2016-01-27 09:20:30.562985685 +0100
  4. @@ -1578,10 +1578,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. @@ -3808,39 +3808,23 @@
  17. #
  18. # Remake the info files.
  19. -doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug
  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. +
  30. +TEXI_CPP_FILES =
  31. -TEXI_CPP_FILES = cpp.texi fdl.texi cppenv.texi cppopts.texi \
  32. - gcc-common.texi gcc-vers.texi
  33. +TEXI_GCC_FILES =
  34. -TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \
  35. - standards.texi invoke.texi extend.texi md.texi objc.texi \
  36. - gcov.texi trouble.texi bugreport.texi service.texi \
  37. - contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi \
  38. - fdl.texi contrib.texi cppenv.texi cppopts.texi \
  39. - implement-c.texi arm-neon-intrinsics.texi
  40. -
  41. -TEXI_GCCINT_FILES = gccint.texi gcc-common.texi gcc-vers.texi \
  42. - contribute.texi makefile.texi configterms.texi options.texi \
  43. - portability.texi interface.texi passes.texi c-tree.texi \
  44. - rtl.texi md.texi tm.texi hostconfig.texi fragments.texi \
  45. - configfiles.texi collect2.texi headerdirs.texi funding.texi \
  46. - gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi \
  47. - sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi \
  48. - loop.texi generic.texi gimple.texi
  49. +TEXI_GCCINT_FILES =
  50. -TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi \
  51. - gcc-common.texi gcc-vers.texi
  52. +TEXI_GCCINSTALL_FILES =
  53. -TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
  54. +TEXI_CPPINT_FILES =
  55. # gcc-vers.texi is generated from the version files.
  56. gcc-vers.texi: $(BASEVER) $(DEVPHASE)
  57. @@ -3948,7 +3932,7 @@
  58. generated-manpages: man
  59. -man: $(MANFILES) lang.man @GENINSRC@ srcman lang.srcman
  60. +man:
  61. srcman: $(MANFILES)
  62. -cp -p $^ $(srcdir)/doc