--- Makefile.linux.orig 2018-04-05 08:33:12.035594921 -0700 +++ Makefile.linux 2018-04-05 08:33:51.156875826 -0700 @@ -535,7 +535,7 @@ # Something built from source and installed locally would normally go in /usr/local/... # If not specified on the make command line, this is our default. -DESTDIR ?= /usr/local +DESTDIR ?= /usr # However, if you are preparing a "binary" DEB or RPM package, the installation location # would normally be /usr/... instead. In this case, use a command line like this: @@ -680,7 +680,7 @@ # Set group and mode of HID devices corresponding to C-Media USB Audio adapters. # This will allow us to use the CM108/CM119 GPIO pins for PTT. # - $(INSTALL) -D --mode=644 99-direwolf-cmedia.rules /etc/udev/rules.d/99-direwolf-cmedia.rules + $(INSTALL) -D --mode=644 99-direwolf-cmedia.rules $(DESTDIR)/../etc/udev/rules.d/99-direwolf-cmedia.rules # @echo " " @echo "If this is your first install, not an upgrade, type this to put a copy"