joan2937 / lg

Linux C libraries and Python modules for manipulating GPIO
The Unlicense
57 stars 20 forks source link

Permit override of $(prefix) and other vars #1

Closed waveform80 closed 3 years ago

waveform80 commented 3 years ago

I've been putting together a debian package for lg (for eventual inclusion in ubuntu and hopefully raspbian); not quite finished yet, but the current status can be found in https://launchpad.net/~waveform/+archive/ubuntu/lg/+packages. Obviously with the package I wanted to target the /usr hierarchy rather than /usr/local and wondered if you'd mind making some of the Makefile vars conditional to make them a bit easier to tweak from the packaging rules?

Incidentally, many thanks for writing this! Once the packaging tasks are done I'll be looking at incorporating an lg driver into gpiozero (though there's a ton of other stuff I need to look at there too, like all the Pi4/400/CM4 stuff!).