Skip to content

Conversation

@ranma42
Copy link
Contributor

@ranma42 ranma42 commented Jan 2, 2015

After 8b3c676 the make install
command fails if docs are not disabled through CFG_DISABLE_DOCS,
because now the install target uses
../../tmp/dist/$(DOC_PKG_NAME)-$(CFG_BUILD)/install.sh

Instead of explicitly depending on
dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz, the prepare_[un]install
targets now depend on dist-tar-bins, which packages the appropriate
dist archives depending on the configuration.

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @huonw (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see CONTRIBUTING.md for more information.

ranma42 referenced this pull request Jan 2, 2015
This distributes docs in a separate package called rust-docs. The rust-packaging
project will combine it with Rust and Cargo into a single installer in a variety of formats.
@brson
Copy link
Contributor

brson commented Jan 2, 2015

Also fixed by #20380, but this version's a bit cleaner. It looks like that other PR will land, so this may need a rebase.

@ranma42
Copy link
Contributor Author

ranma42 commented Jan 2, 2015

@brson I'll rebase after #20380 is merged to master

@alexcrichton
Copy link
Member

(it was merged)

After 8b3c676 the `make install`
command fails if docs are not disabled through CFG_DISABLE_DOCS,
because now the `install` target uses
../../tmp/dist/$(DOC_PKG_NAME)-$(CFG_BUILD)/install.sh

In 714a2c6 the `prepare_install`
target wwas changed to conditionally depend also on the doc archive,
but did not modify `prepare_uninstall`.

Instead of explicitly depending on
dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz, the `prepare_[un]install`
targets now depend on `dist-tar-bins`, which packages the appropriate
dist archives depending on the configuration.
@ranma42
Copy link
Contributor Author

ranma42 commented Jan 3, 2015

Rebased and updated commit message with a reference to the previous fix and why this might be preferred (make uninstall).

bors added a commit that referenced this pull request Jan 4, 2015
After 8b3c676 the `make install`
command fails if docs are not disabled through CFG_DISABLE_DOCS,
because now the `install` target uses
../../tmp/dist/$(DOC_PKG_NAME)-$(CFG_BUILD)/install.sh

Instead of explicitly depending on
dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz, the `prepare_[un]install`
targets now depend on `dist-tar-bins`, which packages the appropriate
dist archives depending on the configuration.
@bors bors merged commit f2ee9fc into rust-lang:master Jan 4, 2015
@ranma42 ranma42 deleted the fix-make-install branch January 17, 2015 15:10
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.

6 participants