Skip to content
Snippets Groups Projects
  1. Mar 07, 2022
  2. Oct 08, 2016
  3. Sep 17, 2015
    • Thomas Miedema's avatar
      Docs: make sure all libs are included in index.html (#10879) · 48746fff
      Thomas Miedema authored
      During the build, when HADDOCK_DOCS=YES, the command 'cd libraries && sh
      gen_contents_index --intree' is run, which calls haddock to generate the
      haddock index at 'libraries/dist-haddock/index.html'.
      
      What it did before was check the ./packages file for all libraries. The
      problem is that 'base' and 'ghc-prim' were folded into the main repo
      some time ago, hence don't have an entry in the ./packages file anymore.
      As a result, 'base' and 'ghc-prim' were missing from the index.html
      file.
      
      It now simply runs haddock on all the all the `.haddock` files in the
      libraries directory.
      
      The only risk is that this could include the extra libraries in the
      index.html, if you ever built them in the past (with
      BUILD_EXTRA_PKGS=YES), even though now you want to exclude them (with
      BUILD_EXTRA_PKGS=NO). gen_contents_index doesn't have access to build
      system variables though (PACKAGES_STAGE1+PACKAGES_STAGE2), so fixing
      this would be a little bit fiddly.
      
      Test Plan:
      'make libraries/dist-haddock/index.html && grep -q base
      libraries/dist-haddock/index.html && echo ok'
      
      Reviewed by: austin
      
      Differential Revision: https://phabricator.haskell.org/D1247
      48746fff
  4. Mar 22, 2015
  5. Jan 29, 2013
  6. Jun 21, 2012
  7. Jan 08, 2012
  8. Oct 23, 2011
  9. Oct 21, 2011
  10. Apr 08, 2011
  11. Oct 16, 2010
  12. Sep 20, 2010
  13. Jan 08, 2010
  14. Dec 18, 2009
  15. Dec 17, 2009
  16. Nov 17, 2009
    • Ian Lynagh's avatar
      Fix gen_contents_index on MSYS · eb5afeaa
      Ian Lynagh authored
      On MSYS
          sed 's/.*[ \t]//'
      wasn't matching
          version:<tab>1.0
      so I've switched to
          's/.*[[:space:]]//'
      which works on Linux, cygwin and MSYS.
      eb5afeaa
  17. Nov 08, 2009
  18. Aug 02, 2009
  19. Nov 16, 2008
  20. Oct 19, 2008
  21. Oct 13, 2008
  22. Aug 28, 2008
  23. Dec 12, 2007
  24. Dec 07, 2007
  25. Nov 24, 2007
  26. Nov 10, 2007
  27. Oct 25, 2007
  28. Mar 08, 2007
Loading