aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-09 10:26:43 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-09 10:26:43 +0200
commit473b4656c9e6740276368d88e4ba103babab7bca (patch)
tree12e9a63f18f77272965a5dceb3a885cd075ae534
parentportability (diff)
downloadbfind-473b4656c9e6740276368d88e4ba103babab7bca.tar.gz
bfind-473b4656c9e6740276368d88e4ba103babab7bca.tar.bz2
bfind-473b4656c9e6740276368d88e4ba103babab7bca.tar.xz
add makefile
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e6fb4c3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+PY3_SHEBANG = /usr/bin/env/ python3
+
+
+.PHONY: all
+all: bfind
+
+bfind: src/bfind.py
+ cp "$<" "$@"
+ sed -i 's:/usr/bin/env/ python3:$(PY3_SHEBANG):' "$@"
+
+
+.PHONY: clean
+clean:
+ -rm -- bfind
+