aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-01 16:03:40 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-01 16:03:40 +0200
commit1ca076f451b06b931c9db3f52657935573633934 (patch)
tree79e914a6ad161a0cdaf86492e1bd5aeaff0b8650
parentuse @code instead of @var (diff)
downloadargparser-1ca076f451b06b931c9db3f52657935573633934.tar.gz
argparser-1ca076f451b06b931c9db3f52657935573633934.tar.bz2
argparser-1ca076f451b06b931c9db3f52657935573633934.tar.xz
derp1.0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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)":' "$@"