disable-docs.patch 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. diff -Nur gcc-4.2.4.orig/gcc/Makefile.in gcc-4.2.4/gcc/Makefile.in
  2. --- gcc-4.2.4.orig/gcc/Makefile.in 2008-04-01 23:26:19.000000000 +0200
  3. +++ gcc-4.2.4/gcc/Makefile.in 2016-01-27 14:05:33.553925680 +0100
  4. @@ -3360,39 +3360,23 @@
  5. #
  6. # Remake the info files.
  7. -doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug
  8. +doc:
  9. -INFOFILES = doc/cpp.info doc/gcc.info doc/gccint.info \
  10. - doc/gccinstall.info doc/cppinternals.info
  11. +INFOFILES =
  12. -info: $(INFOFILES) lang.info @GENINSRC@ srcinfo lang.srcinfo
  13. +info:
  14. -srcinfo: $(INFOFILES)
  15. - -cp -p $^ $(srcdir)/doc
  16. -
  17. -TEXI_CPP_FILES = cpp.texi fdl.texi cppenv.texi cppopts.texi \
  18. - gcc-common.texi gcc-vers.texi
  19. -
  20. -TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \
  21. - standards.texi invoke.texi extend.texi md.texi objc.texi \
  22. - gcov.texi trouble.texi bugreport.texi service.texi \
  23. - contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi \
  24. - fdl.texi contrib.texi cppenv.texi cppopts.texi \
  25. - implement-c.texi
  26. -
  27. -TEXI_GCCINT_FILES = gccint.texi gcc-common.texi gcc-vers.texi \
  28. - contribute.texi makefile.texi configterms.texi options.texi \
  29. - portability.texi interface.texi passes.texi c-tree.texi \
  30. - rtl.texi md.texi tm.texi hostconfig.texi fragments.texi \
  31. - configfiles.texi collect2.texi headerdirs.texi funding.texi \
  32. - gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi \
  33. - sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi \
  34. - loop.texi
  35. +srcinfo:
  36. -TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi \
  37. - gcc-common.texi gcc-vers.texi
  38. +TEXI_CPP_FILES =
  39. -TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
  40. +TEXI_GCC_FILES =
  41. +
  42. +TEXI_GCCINT_FILES =
  43. +
  44. +TEXI_GCCINSTALL_FILES =
  45. +
  46. +TEXI_CPPINT_FILES =
  47. # gcc-vers.texi is generated from the version files.
  48. gcc-vers.texi: $(BASEVER) $(DEVPHASE)