diff options
author | Chris Engel <cjengel@us.ibm.com> | 2017-10-12 13:01:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 13:01:30 -0500 |
commit | 150657872f176a12059fc969a9b3b8c3b907ade5 (patch) | |
tree | 10e0f48badf0b26a12caf92f6657530fbe398b74 | |
parent | c564fa54093c0e634f0276e509946b746f94bca4 (diff) | |
parent | 57c4a188162bd8d141a6bb1cce59dc65ea372cf9 (diff) | |
download | sb-signing-framework-150657872f176a12059fc969a9b3b8c3b907ade5.tar.gz sb-signing-framework-150657872f176a12059fc969a9b3b8c3b907ade5.zip |
Merge pull request #2 from hellerda/simple-make-install-for-sf_client
Add simple make install/uninstall to sf_client makefile
-rw-r--r-- | src/client/makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client/makefile b/src/client/makefile index d4dc827..ad5701f 100644 --- a/src/client/makefile +++ b/src/client/makefile @@ -36,5 +36,15 @@ default: sf_client all: $(CEXEC) +prefix = /usr/local +exec_prefix = $(prefix) +bindir = $(exec_prefix)/bin + +install: + cp sf_client sftp-test "$(bindir)" + +uninstall: + cd "$(bindir)" && $(RM) sf_client sftp-test + clean: rm -f $(CEXEC) $(SFTP_T_OBJ) $(CLIENT_OBJ) $(DECRYPT_OBJ) $(COMMON_OBJ) |