Re: [Hackage] #283: install command doesn't install dist/doc/users-guide/

There are two tasks: building the documentation and installing it. As for building, it is surely good to support widely known formats, but I
#283: install command doesn't install dist/doc/users-guide/
----------------------------------------------+-----------------------------
Reporter: Misha Aizatulin
As to installing the documentation, it seems to be rather easy: just copy the contents of /dist/doc to $docdir. This can be done independently of how the documentation was built. Or am I missing something?
I'm a bit nervous of just installing all the files that happen to be under that directory. I much prefer solutions where we know exactly which files we should be installing. What happens when you get stale files in there due to renaming etc? We end up installing said stale files. In a decent build system I think we should know how to build and re-build every file. In that case we always know what files to install and how to make sure they're up-to-date. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/283#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage