Fix two minor issues with the Makefile

This commit is contained in:
Phillip Berndt 2019-12-31 11:43:50 +01:00
parent e1c85639c3
commit 4452340c52
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ all:
@echo "The following additional targets are available:"
@echo
@echo " make deb creates a Debian package"
@echo " make rpm creates a RPM package"
# Rules for autorandr itself
DEFAULT_TARGETS=autorandr
@ -110,7 +111,7 @@ uninstall_pmutils:
# Rules for udev
UDEV_RULES_DIR:=$(shell pkg-config --variable=udevdir udev 2>/dev/null)/rules.d
ifneq (,$(UDEV_RULES_DIR),y)
ifneq (/rules.d,$(UDEV_RULES_DIR))
DEFAULT_TARGETS+=udev
endif