aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2020-10-28 14:12:54 +0000
committerJoursoir <chat@joursoir.net>2020-10-28 14:12:54 +0000
commit38a3be4a3eeacec75a534fef6951b9484b4d7098 (patch)
tree31c6f709d1d9ab45487bb2cd844f4969e002e24e /Makefile
parentc992bb4c7cc230eff246f5368b7fc765750eec5b (diff)
downloadlock-password-38a3be4a3eeacec75a534fef6951b9484b4d7098.tar.gz
lock-password-38a3be4a3eeacec75a534fef6951b9484b4d7098.tar.bz2
lock-password-38a3be4a3eeacec75a534fef6951b9484b4d7098.zip
feature: copy password to clipboard
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d4520b3..5122e69 100755
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ CC = gcc
CFLAGS = -Wall -g
SOURCES = easydir.c handerror.c implementation.c main.c
OBJECTS = $(SOURCES:.c=.o)
+BASH = lpass_copy.sh
EXECUTABLE = lpass
.PHONY: all clean install uninstall
@@ -19,10 +20,13 @@ $(EXECUTABLE): $(OBJECTS)
@$(CC) $(CFLAGS) -o $(EXECUTABLE) $(OBJECTS)
install: all
- @echo installing file to $(PREFIX)
+ @echo installing files to $(PREFIX)
@install $(EXECUTABLE) $(PREFIX)
@chmod 755 $(PREFIX)/$(EXECUTABLE)
+ @install $(BASH) $(PREFIX)
+ @chmod 755 $(PREFIX)/$(BASH)
uninstall:
- @echo removing file from $(PREFIX)
- @rm -rf $(PREFIX)/$(EXECUTABLE) \ No newline at end of file
+ @echo removing files from $(PREFIX)
+ @rm -rf $(PREFIX)/$(EXECUTABLE)
+ @rm -rf $(PREFIX)/$(BASH) \ No newline at end of file