gabm / Satty

Satty - Modern Screenshot Annotation. A tool inspired by Swappy and Flameshot.
Mozilla Public License 2.0
388 stars 18 forks source link

make install compatibility with sudo and root not having cargo #15

Closed RobertMueller2 closed 7 months ago

RobertMueller2 commented 7 months ago

Of course, I can use make build-release; touch build-release; sudo make install; rm build-release as a workaround. Or install cargo for root, of course. But it'd be nice if I didn't have to. ;)

I think the easiest is to have install depend on the actual file target/release/satty instead of build-release.

gabm commented 7 months ago

thanks for your report. I agree that this is suboptimal.

I am not very experienced with makefiles, could you create a pr?

RobertMueller2 commented 7 months ago

Of course, happy to do so. Might take a few days before I find some spare time. :)

gabm commented 7 months ago

fixed in #16