Added Makefile to install program.

This commit is contained in:
Hermann Kraus 2013-11-17 23:07:52 +01:00
parent 4f5e2401ef
commit bbdf3fb639
1 changed files with 12 additions and 0 deletions

12
Makefile Normal file
View File

@ -0,0 +1,12 @@
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:
install -m 755 pm-utils/40autorandr /etc/pm/power.d/