commit 02fabc3dfd5b38ffe326030c6bbb537ec61b31ea
parent 7fdb83148bc7ad9b70434a7e3af5de68c4579514
Author: sin <sin@2f30.org>
Date: Sun, 6 Apr 2014 09:04:43 +0100
Don't assume that the path we are installing to exists
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -53,6 +53,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)