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

Declare Phony rules in Makefile. Add variables for custom install paths. #265

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

Gullumluvl
Copy link
Contributor

@Gullumluvl Gullumluvl commented Mar 10, 2021

I added the ".Phony" declaration in Makefile.

The second modification allows to install as a regular user, but without modifying the PATH environment variable. It might be personal, but I prefer not to append to PATH for every new program. Instead I take advantage that $HOME/.local is usually already in the path.

So for a local install, (e.g. in ~/.local), users can override the default paths by running:

make INSTALLDIR=~/.local/augustus PREFIX=~/.local install

For a local install, for example in ~/.local, users can override the default paths:
    make INSTALLDIR=~/.local/augustus PREFIX=~/.local install
Copy link
Contributor

@MarioStanke MarioStanke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, thanks!

@MarioStanke MarioStanke merged commit ab073ef into Gaius-Augustus:master Mar 10, 2021
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.

2 participants