commit 45ee8dad375996e46c87b2a7bf122b1e5c7703c2
parent 732ff248ee4a5d00faa946de061f92b2ed52bfc8
Author: Dominik Schmidt <dominik@schm1dt.ch>
Date: Tue, 3 Sep 2019 21:52:55 +0200
Create the install directories prior to installing to them
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -18,5 +18,7 @@ siproc: src/siproc.o
.PHONY:install
install: siproc
+ mkdir -p $(DESTDIR)$(PREFIX)/bin/
$(INSTALL) -m 755 siproc $(DESTDIR)$(PREFIX)/bin/
+ mkdir -p $(DESTDIR)$(MANPREFIX)/man1
$(INSTALL) -m 644 siproc.1 $(DESTDIR)$(MANPREFIX)/man1