Skip to content

Build dependencies seperately so they don't contaminate docs.tar (fixes #130). #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 11, 2013
Merged

Conversation

komadori
Copy link
Contributor

@komadori komadori commented Nov 5, 2013

This patch changes the build client to run "cabal install" twice. The first pass builds any dependent packages (only) with one documentation output directory and the second pass builds the actual target package with a different documentation output directory. Only the results of the second install pass are used to create the docs.tar and so hence the documentation files pertaining to the dependencies are excluded from the docs.tar file.

@komadori
Copy link
Contributor Author

komadori commented Nov 5, 2013

Fixes #130.

dcoutts added a commit that referenced this pull request Nov 11, 2013
Build dependencies seperately so they don't contaminate docs.tar (fixes #130).
@dcoutts dcoutts merged commit 7cfe65f into haskell:master Nov 11, 2013
@dcoutts
Copy link
Contributor

dcoutts commented Nov 11, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants