commit 2b0fbe6919256e8b4adb07d12cbbf89623eda6c5
parent 92c96ba56719c28e787335396c139f7e95760c59
Author: William Casarin <jb55@jb55.com>
Date: Mon, 27 May 2019 07:35:30 -0700
make: simplify mkdirp step in install
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -19,8 +19,7 @@ lex.yy.c: lexer.l parser.tab.h
flex lexer.l
install: $(BIN) bcalc.1
- mkdir -p $(PREFIX)/bin
- mkdir -p $(PREFIX)/share/man/man1
+ mkdir -p $(PREFIX)/bin $(PREFIX)/share/man/man1
gzip < bcalc.1 > $(PREFIX)/share/man/man1/bcalc.1.gz
cp $(BIN) $(PREFIX)/bin