Skip to content
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

build: standardize make check and make install too #16030

Merged
merged 2 commits into from
May 19, 2017

Conversation

benesch
Copy link
Contributor

@benesch benesch commented May 18, 2017

See commit messages for details. This (finally) addresses everything from #15862, I believe!

@bdarnell, this will break your workflow just a bit; you'll need make go-install instead of make install with this patch.

@benesch benesch requested review from bdarnell, knz and tamird May 18, 2017 23:11
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@benesch benesch changed the title build: standardize make check and make install build: standardize make check and make install too May 18, 2017
To adhere to convention, have the `make install` target actually install
the `cockroach` binary onto the PATH, namely into /usr/local/bin.
Additionally expose the standard `prefix` and `DESTDIR` variables. The
current behavior of `make install`--installing into $GOPATH/bin--is
still exposed as `make go-install`.

This new behavior is already the behavior of `make install` in the
source tarball.

Further addresses cockroachdb#15862.
To adhere to convention, turn `make check` into an alias for `make
test`.

Fixes cockroachdb#15862.
@benesch benesch force-pushed the make-target-standardization branch from 1ece85b to d1e8dd4 Compare May 18, 2017 23:48
@tamird
Copy link
Contributor

tamird commented May 19, 2017

:lgtm:


Reviewed 2 of 2 files at r1, 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@bdarnell
Copy link
Contributor

:lgtm:


Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from Reviewable

@benesch benesch merged commit f36c27e into cockroachdb:master May 19, 2017
@benesch benesch deleted the make-target-standardization branch May 19, 2017 18:53
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.

5 participants