mirror of
https://github.com/phillipberndt/autorandr
synced 2025-02-26 00:31:22 +00:00
Fix two minor issues with the Makefile
This commit is contained in:
parent
e1c85639c3
commit
4452340c52
3
Makefile
3
Makefile
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user