tCreate $PREFIX/bin in makefile before installation - pm - barely a pack manager
(HTM) git clone git://z3bra.org/pm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e27724102e5289a10f3b5bc355b40be37d6b7b49
(DIR) parent cce6b1cec50531e60e5e20a0eb14ae914446bf50
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Fri, 8 Jan 2016 12:47:30 +0100
Create $PREFIX/bin in makefile before installation
Diffstat:
M makefile | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/makefile b/makefile
t@@ -11,6 +11,7 @@ clean:
rm -f $(BIN)
install: $(BIN)
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
cp $(BIN) $(DESTDIR)$(PREFIX)/bin/$(BIN)
chmod 755 $(DESTDIR)$(PREFIX)/bin/$(BIN)