commit d5f882d05957126b6a9e943896058de2744b87f2 parent b61204be63b8516b0e68fe56a85fcbdd5cc3f027 Author: parazyd <parazyd@dyne.org> Date: Fri, 8 Dec 2017 12:30:26 +0100 Add Makefile to install python scripts Diffstat:
A | python/Makefile | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/python/Makefile b/python/Makefile @@ -0,0 +1,15 @@ +# See LICENSE file for copyright and license details. + +PREFIX ?= /usr/local + +BIN =\ + decodehs.py \ + dirauth.py + +all: + @echo 'Run "make install" to install the scripts to $(DESTDIR)$(PREFIX)/bin' + +install: + @echo 'Installing scripts to $(DESTDIR)$(PREFIX)/bin' + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin