aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miciah Masters <miciah.masters@gmail.com>2017-09-22 19:39:46 -0400
committerGravatar Hummer12007 <hilobakho@gmail.com>2017-09-23 18:08:12 +0300
commitb71a36b63cf0d0766f34c373ad585fea5e0b63f2 (patch)
treef4afa4bdb9ea7d8ae4b1635e91fef82f5297c3bb
parent5c6ea405ef056d5bfa58ed928f62405b97fea1b8 (diff)
Use BINDIR in Makefile install rule
-rw-r--r--Makefile4
1 files 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}