finishing touches on README and Makefile

This commit is contained in:
celso 2022-11-19 13:27:26 -03:00
parent f6a794363f
commit a31d04c2e8
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ install:
install-openrc: install-openrc:
cp init.d/$(BIN) /etc/init.d/$(BIN) cp init.d/$(BIN) /etc/init.d/$(BIN)
cp conf.d/$(BIN) /etc/conf.d/$(BIN) cp conf.d/$(BIN) /etc/conf.d/$(BIN)
rc-update add homemade_speedstep
clean: clean:
$(RM) -r $(BINDIR)/* $(RM) -r $(BINDIR)/*

View File

@ -19,6 +19,8 @@ Run `make` to compile the program, the binary will be placed in the `bin` direct
You can run it from there or you can run `make install` to place it in the `/usr/bin` folder. You can run it from there or you can run `make install` to place it in the `/usr/bin` folder.
Run `make install-openrc` to install the program as an openrc service.
Run `make debug` to compile the program with debug symbols (only useful if you wish to debug it). Run `make debug` to compile the program with debug symbols (only useful if you wish to debug it).
Run `make clean` to remove the compiled binary (note: only from `bin`, to remove from `/usr/bin` run `rm /usr/bin/homemade_speedstep`). Run `make clean` to remove the compiled binary (note: only from `bin`, to remove from `/usr/bin` run `rm /usr/bin/homemade_speedstep`).