Makefile: fix install path for udev rules

`pkg-config --variable=udevdir udev` returns the root folder for udev.
This commit is contained in:
Rasmus Wriedt Larsen 2016-11-06 00:34:58 +01:00
parent 729e8caf52
commit 33df4b3935
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ uninstall_systemd:
rm -f ${DESTDIR}/${SYSTEMD_UNIT_DIR}/autorandr-resume.service rm -f ${DESTDIR}/${SYSTEMD_UNIT_DIR}/autorandr-resume.service
# Rules for udev # Rules for udev
UDEV_RULES_DIR:=$(shell pkg-config --variable=udevdir udev 2>/dev/null) UDEV_RULES_DIR:=$(shell pkg-config --variable=udevdir udev 2>/dev/null)/rules.d
ifneq (,$(UDEV_RULES_DIR),y) ifneq (,$(UDEV_RULES_DIR),y)
DEFAULT_TARGETS+=udev DEFAULT_TARGETS+=udev
endif endif