From bbdf3fb63999e8a5baadce042e04cae8cdc8cdd5 Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Sun, 17 Nov 2013 23:07:52 +0100 Subject: [PATCH] Added Makefile to install program. --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile 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 -- 2.39.2