From ebb05288b2846466ff26ea1076c4e9ea6fbe98b9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 11 Feb 2011 19:15:44 +0100 Subject: Add makefile, fix filename --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3