From b71a36b63cf0d0766f34c373ad585fea5e0b63f2 Mon Sep 17 00:00:00 2001 From: Miciah Masters Date: Fri, 22 Sep 2017 19:39:46 -0400 Subject: Use BINDIR in Makefile install rule --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1e2ee50..acbea1a 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,8 @@ MODE = ${MODE_${INSTALL_UDEV_RULES}} all: brightnessctl install: brightnessctl ${INSTALL_UDEV_${INSTALL_UDEV_RULES}} - install -d ${DESTDIR}${PREFIX}/bin - install -m ${MODE} brightnessctl ${DESTDIR}${PREFIX}/bin/ + install -d ${BINDIR} + install -m ${MODE} brightnessctl ${BINDIR}/ install_udev_rules: install -d ${DESTDIR}${UDEVDIR} -- cgit v1.2.3