summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..86f9f45
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+PREFIX ?= /usr/local
+
+main_dir = ${DESTDIR}${PREFIX}
+lib_dir = ${main_dir}/lib
+
+all:
+ @echo "There is nothing to make, you can just make install"
+
+install:
+ @echo installing lib/ssh-forcecommand to ${lib_dir}
+ @mkdir -p ${lib_dir}
+ @cp lib/ssh-forcecommand ${lib_dir}
+ @chmod 755 ${lib_dir}/ssh-forcecommand
+
+uninstall:
+ rm -f ${lib_dir}/ssh-forcecommand
+
+.PHONY: all install uninstall