]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - Makefile
Fix two minor issues with the Makefile
[deb_pkgs/autorandr.git] / 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