aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 33f4b68..f682ab9 100644
--- a/Makefile
+++ b/Makefile
@@ -45,12 +45,14 @@ info: argparser.info.gz
.PHONY: python
python: bin/argparser.py
bin/argparser.py: src/argparser.py
+ @mkdir -p bin
cp "$<" "$@"
sed -i 's:^#!/usr/bin/env python3$$:#!$(PY3SHEBANG)":' "$@"
.PHONY: bash
bash: bin/argparser.bash
bin/argparser.bash: src/argparser.bash
+ @mkdir -p bin
cp "$<" "$@"
sed -i 's:^#!/bin/bash$$:#!$(BASHSHEBANG)":' "$@"