From 77c00662ab7ddcc7f3c15d2f5ec25edeb44a8dd6 Mon Sep 17 00:00:00 2001 From: Sergiy Borodych Date: Mon, 14 Sep 2015 12:25:11 +0300 Subject: [PATCH] add 'install -d' for prepare dirs (ensure that dirs exists) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 28b0e99..446c37f 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,14 @@ all: $(TARGETS) experimental: $(EXPERIMENTAL_TARGETS) install: all + $(INSTALL) -d $(PREFIX)/bin $(INSTALL) -oroot -groot -m755 $(TARGETS) $(PREFIX)/bin + $(INSTALL) -d $(PREFIX)/share/man/man1 $(INSTALL) -oroot -groot -m644 f3read.1 $(PREFIX)/share/man/man1 $(LN) -sf f3read.1 $(PREFIX)/share/man/man1/f3write.1 install-experimental: experimental + $(INSTALL) -d $(PREFIX)/bin $(INSTALL) -oroot -groot -m755 $(EXPERIMENTAL_TARGETS) $(PREFIX)/bin f3write: utils.o f3write.o