vdudouyt / minipro

An open source program for controlling the MiniPRO TL866xx series of chip programmers
383 stars 77 forks source link

Autodetect installation paths for udev/bash-completion. #81

Closed chenz closed 7 years ago

chenz commented 7 years ago

These paths can be detected via pkg-config, which is already used in the build. There is no point in installing them under PREFIX like the other files.

Tested on Debian 8.

Additional changes:

chenz commented 7 years ago

Hmmm, in it's current form, this change breaks installation without root privileges (ie make install PREFIX=/home/me/mystuff).