Don't assume that $(DESTDIR)$(PREFIX)/bin exists - sinit - suckless init | |
git clone git://git.suckless.org/sinit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a7b6c6f0751fb34e6b8ed344de0af6dbf42fdb5d | |
parent 3a953eac00727baf7a5e3f3194257daa9529df37 | |
Author: sin <[email protected]> | |
Date: Thu, 27 Feb 2014 15:29:16 +0000 | |
Don't assume that $(DESTDIR)$(PREFIX)/bin exists | |
Diffstat: | |
M Makefile | 1 + | |
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) | |