diff options
-rw-r--r-- | Makefile | 18 | ||||
-rwxr-xr-x | lib/ssh-forcecommand (renamed from lib/forcecommand) | 0 |
2 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 diff --git a/lib/forcecommand b/lib/ssh-forcecommand index 16e04c5..16e04c5 100755 --- a/lib/forcecommand +++ b/lib/ssh-forcecommand |