Muxelmann / OpenDSSDirect.make

A set of scripts to download and compile the up to date version of OpenDSS library.
Other
10 stars 4 forks source link

Remove `sudo` requirement #17

Open kdheepak opened 6 years ago

kdheepak commented 6 years ago

Allow local installation path in Makefile so that sudo is not required.

Muxelmann commented 6 years ago

I'll see how I can reduce the sudo requirement. So far it's been used where I thought it's necessary: e.g. apt and rm -rf [git-repo]. Although symbolic linking can be moved to /usr/local/bin/ instead of /urs/bin I'm not too sure about /lib and /usr/lib: they aren't included in PATH and they are where I had to create the links.

Should we add the links to /usr/local/lib or stick to sudo requirements?

kdheepak commented 6 years ago

You make a good point. I guess an alternative would be to separate out functionality in the Makefile to more targets. Having the following functionality for example will be useful.

Then perhaps, the sudo can be in just the linker_requirements target. Thoughts?