summaryrefslogtreecommitdiff
path: root/Makefile
blob: 783b3ccc293ff53306a486da7e06804cf3734c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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

test:
	@prove

uninstall:
	rm -f ${lib_dir}/ssh-forcecommand

.PHONY: all install test uninstall