autorandr/Makefile

14 lines
471 B
Makefile
Raw Normal View History

2013-11-17 22:07:52 +00:00
all:
@echo "Call \"make install\" to install this program."
@echo "Call \"make hotplug\" to install matching hotplug events."
INSTALL_PATH=/usr/local/bin
install:
install auto-disper ${INSTALL_PATH}
install -m 755 autorandr ${INSTALL_PATH}
install -m 644 bash_completion/autorandr /etc/bash_completion.d/
hotplug:
2013-11-17 22:45:20 +00:00
install -m 755 pm-utils/40autorandr /etc/pm/sleep.d/
install -m 644 udev/40-monitor-hotplug.rules /etc/udev/rules.d/
udevadm control --reload-rules