X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=10570e48618fdd98b8166c5ffc329751c72446a1;hb=bae286948aaeced03357adccfb14d1ce84a568d1;hp=a312da8fde60c30c0d4ef038af2e7900407d8591;hpb=3c12874f14a05c47c151d64249952377b8770b87;p=deb_pkgs%2Fautorandr.git diff --git a/Makefile b/Makefile index a312da8..10570e4 100644 --- a/Makefile +++ b/Makefile @@ -50,10 +50,10 @@ ifeq ($(HAVE_SYSTEMD),y) DEFAULT_TARGETS+=systemd endif -install_systemd: install_pmutils +install_systemd: install -D -m 644 contrib/systemd/autorandr-resume.service ${DESTDIR}/etc/systemd/system/autorandr-resume.service -uninstall_systemd: uninstall_pmutils +uninstall_systemd: rm -f ${DESTDIR}/etc/systemd/system/autorandr-resume.service # Rules for udev @@ -62,7 +62,7 @@ ifeq ($(HAVE_UDEV),y) DEFAULT_TARGETS+=udev endif -install_udev: install_pmutils +install_udev: install -D -m 644 contrib/udev/40-monitor-hotplug.rules ${DESTDIR}/etc/udev/rules.d/40-monitor-hotplug.rules ifeq (${USER},root) udevadm control --reload-rules @@ -71,7 +71,7 @@ else @echo " udevadm control --reload-rules" endif -uninstall_udev: uninstall_pmutils +uninstall_udev: rm -f ${DESTDIR}/etc/udev/rules.d/40-monitor-hotplug.rules