From 75ade7ae7f71a02dc32a82cccf2722993dd12dc4 Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Thu, 8 Feb 2018 20:29:47 +0530 Subject: [PATCH] Create install path if absent --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index c7c6355..8677b60 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ exec_prefix = $(prefix) bindir = $(exec_prefix)/bin INSTALL = install -vb +INSTALL_DIR = $(INSTALL) -d INSTALL_PROGRAM = $(INSTALL) -m 755 all: @@ -12,6 +13,7 @@ all: @echo "Run 'make uninstall' for uninstallation." install: + $(INSTALL_DIR) $(DESTDIR)$(bindir) $(INSTALL_PROGRAM) imagecap $(DESTDIR)$(bindir) uninstall: -- 2.39.5