tAdd Makefile to install python scripts - tordam - A library for peer discovery inside the Tor network
HTML git clone https://git.parazyd.org/tordam
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit d5f882d05957126b6a9e943896058de2744b87f2
DIR parent b61204be63b8516b0e68fe56a85fcbdd5cc3f027
HTML 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(-)
---
DIR diff --git a/python/Makefile b/python/Makefile
t@@ -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