From a7b6c6f0751fb34e6b8ed344de0af6dbf42fdb5d Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 27 Feb 2014 15:29:16 +0000 Subject: Don't assume that $(DESTDIR)$(PREFIX)/bin exists --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') 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) -- cgit v1.2.3-70-g09d2