If I specify a non-root path, for example, to my own home subdir, the command will still fail in the last step because it tries to link to /usr/local
make install POPLOG_HOME_DIR=/home/myhome/some/path
mkdir -p /usr/local/bin
ln -sf /home/myhome/some/path/poplog/current_usepop/pop/bin/poplog /usr/local/bin/
# Target "install" completed
ln: failed to create symbolic link '/usr/local/bin/poplog': Permission denied
Expected behavior is the build script should know if the user installed with sudo or not, or at least verify the permission to write to /usr/local. My expectation is this wouldn't install anywhere not requested. A knowledgeable user will know to set the path and determine if they want to link into /usr/local/bin.
If I specify a non-root path, for example, to my own home subdir, the command will still fail in the last step because it tries to link to /usr/local
make install POPLOG_HOME_DIR=/home/myhome/some/path
Expected behavior is the build script should know if the user installed with sudo or not, or at least verify the permission to write to /usr/local. My expectation is this wouldn't install anywhere not requested. A knowledgeable user will know to set the path and determine if they want to link into /usr/local/bin.