summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-01-06 01:17:42 +0100
committertv <tv@nomic.retiolum>2014-01-06 01:17:42 +0100
commit7a597d42b0a4cfdf4e96a10ffecea442bdff3ac0 (patch)
treeea59e9517d2e5b4ce7a2e5018fb5a748ff484830
parentdd7311ab3549cf0b62f837f7efea6c2a8aa864a8 (diff)
go: make install must ensure directories
-rw-r--r--go/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/go/Makefile b/go/Makefile
index 6c827f2b..34d21caa 100644
--- a/go/Makefile
+++ b/go/Makefile
@@ -7,4 +7,5 @@ install: \
/etc/%: etc/%
@! test -e $@ || { echo file already exists: $@; exit 23; }
+ mkdir -p $(dir $@)
cp $< $@