From f4eefa6e61a5195efefb183cb07c96cdd923cd58 Mon Sep 17 00:00:00 2001 From: Paper Date: Sun, 29 Mar 2020 11:11:22 +0200 Subject: [PATCH] Add README.md and makefile --- README.md | 10 ++++++++++ makefile | 12 ++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 README.md create mode 100644 makefile diff --git a/README.md b/README.md new file mode 100644 index 0000000..6503c1c --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# OTP.py +dependencies: python3 + +# install +``` +make install +``` + +# usage +create a GPG encrypted file `~/.otp/github.gpg` with content of the secret diff --git a/makefile b/makefile new file mode 100644 index 0000000..8777115 --- /dev/null +++ b/makefile @@ -0,0 +1,12 @@ +PREFIX ?= /usr/local +BINDIR ?= $(PREFIX)/bin + +all: + +install: + install -D -m 755 $(DESTDIR)$(BINDIR)/otp + +uninstall: + rm $(DESTDIR)$(BINDIR)/otp + +.PHONY: all install uninstall