-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathMakefile
More file actions
17 lines (15 loc) · 606 Bytes
/
Makefile
File metadata and controls
17 lines (15 loc) · 606 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all:
./pinata-build-sshd.sh
@echo Please run "make install"
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
install:
@if [ ! -d "$(PREFIX)" ]; then echo Error: need a $(PREFIX) directory; exit 1; fi
@mkdir -p $(PREFIX)/share/pinata-ssh-agent
cp Dockerfile $(PREFIX)/share/pinata-ssh-agent
cp ssh-build.sh $(PREFIX)/share/pinata-ssh-agent/ssh-build
cp ssh-find-agent.sh $(PREFIX)/share/pinata-ssh-agent/ssh-find-agent.sh
@mkdir -p $(BINDIR)
cp pinata-build-sshd.sh $(BINDIR)/pinata-build-sshd
cp pinata-ssh-forward.sh $(BINDIR)/pinata-ssh-forward
cp pinata-ssh-mount.sh $(BINDIR)/pinata-ssh-mount