Skip to content

Remove sudo from makefile and add .out docs to make clean target#331

Open
jastintime wants to merge 2 commits into
waycrate:mainfrom
jastintime:remove-sudo-from-makefile
Open

Remove sudo from makefile and add .out docs to make clean target#331
jastintime wants to merge 2 commits into
waycrate:mainfrom
jastintime:remove-sudo-from-makefile

Conversation

@jastintime
Copy link
Copy Markdown

this PR removes an unnecessary usage of sudo from the install target, make install will fail without superuser(chown will fail) permissions and must be ran {sudo,doas} make install making this usage redundant. This usage caused the program to fail on machines without sudo.

I also added docs/*.out to the make clean target, this is in line with make clean clearing docs/*.gz.

README.md already tells users to run the install target with sudo i.e
`sudo make install`, removing it from the makefile removes a dependency
on sudo and makes the install target work on machines without sudo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant