commit a7b6c6f0751fb34e6b8ed344de0af6dbf42fdb5d
parent 3a953eac00727baf7a5e3f3194257daa9529df37
Author: sin <sin@2f30.org>
Date: Thu, 27 Feb 2014 15:29:16 +0000
Don't assume that $(DESTDIR)$(PREFIX)/bin exists
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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)