todbot / blink1-tool

Command-line tools and C library for blink(1) USB RGB LED
https://blink1.thingm.com/
Other
84 stars 15 forks source link

Segregate install target, add uninstall targets #9

Closed pearsonk closed 6 years ago

pearsonk commented 6 years ago

Signed-off-by: Kevin Pearson kevin.pearson@ortmanconsulting.com

todbot commented 6 years ago

Thanks! This looks good. But I have a question. I typically don't use the "install" target (unless it's wrapped up in a package I prefer to manually install binaries). How are you using this? Would the inclusion of a .deb or .rpm spec be more useful?

pearsonk commented 6 years ago

My next step was to build a bitbake recipe for an OpenEmbedded distribution, and having these targets makes it easier for me to segregate the binary, library, and dev header into separate packages. I have an LED control system I build which can use the library to control the mk2 which is far more performant than spawning a process for the purpose of calling the binary.