Makefile support
I have seen some Rust programs include a Makefile to make compilation and installation simple.
The goal would be to build with this command:
make
Another goal would be to install with this command:
sudo make install
Installation would ideally place target/release/bustd in /usr/local/bin/ and a bustd.service systemd unit file in /lib/systemd/system/ directory, enable and start the service.
I have a script that I run before work that turns on all of the programs that I need including bustd. A simple installation process and a systemd unit file addition would help most normal users.
Sorry it might be harsh my comment, however maintaining a Makefile's can be really cumbersome as it evolves. An alternative could be https://github.com/sagiegurari/cargo-make wdyt @TechnologyClassroom
I think cargo-make is more complex than a makefile.
Good point, what do you think would be a better alternative?
A makefile... like I suggested...
Thanks for the ticket @TechnologyClassroom
Back when popOS packaged bustd, they created this Makefile: https://github.com/pop-os/bustd/blob/master/Makefile
Could be a good basis
Looks perfect and ready to ship.