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: Accept optional name argument with make install? #20033

Closed
AyushG3112 opened this issue Apr 14, 2018 · 1 comment
Closed

build: Accept optional name argument with make install? #20033

AyushG3112 opened this issue Apr 14, 2018 · 1 comment

Comments

@AyushG3112
Copy link
Contributor

AyushG3112 commented Apr 14, 2018

  • Version: master

Can we accept another argument with make install?

It would help when we have a default global(system?) installation of node, and we want to build from source and install globally along with that.

The argument would help us do something like:

$ [sudo] make install NAME=node10
$ node10 -v // use it via the name provided
$ node -v // works with the default globally installed version

If the argument is not provided, default to node

@devsnek
Copy link
Member

devsnek commented Apr 14, 2018

don't use make install then, it's really for putting a whole node+npm+headers combo in and if you only want the binary just manually mv it, it's in out/Release/node

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

No branches or pull requests

2 participants