]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Fix two minor issues with the Makefile
authorPhillip Berndt <phillip.berndt@googlemail.com>
Tue, 31 Dec 2019 10:43:50 +0000 (11:43 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Tue, 31 Dec 2019 10:43:50 +0000 (11:43 +0100)
Makefile

index a4a70e4a1958315e1240995822edb46e8b2e9b28..0ff382f96f7d2d2763c3e8c82b80679d6dd688d6 100644 (file)
--- a/Makefile
+++ b/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