From: Hermann Kraus Date: Sun, 17 Nov 2013 22:07:52 +0000 (+0100) Subject: Added Makefile to install program. X-Git-Tag: 1.0~155^2~5 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=commitdiff_plain;h=bbdf3fb63999e8a5baadce042e04cae8cdc8cdd5 Added Makefile to install program. --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f26018d --- /dev/null +++ b/Makefile @@ -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/ \ No newline at end of file