aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-02-27 15:29:16 +0000
committersin <sin@2f30.org>2014-02-27 15:29:16 +0000
commita7b6c6f0751fb34e6b8ed344de0af6dbf42fdb5d (patch)
tree016994f2e10e016c78a2f0d838d9f3ea1c9be0e5
parent3a953eac00727baf7a5e3f3194257daa9529df37 (diff)
Don't assume that $(DESTDIR)$(PREFIX)/bin exists
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2e5d71b..693da95 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,7 @@ util.a: $(LIB)
install: all
@echo installing executable to $(DESTDIR)$(PREFIX)/bin
+ @mkdir -p $(DESTDIR)$(PREFIX)/bin
@cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
@cd $(DESTDIR)$(PREFIX)/bin && chmod 755 $(BIN)