]> Softwares of Agnibho - imagecap.git/blobdiff - Makefile
Create install path if absent
[imagecap.git] / Makefile
index c7c6355f872762955199a82ece8df189376e245d..8677b60f2120d6cf06de317194a470968008fe9b 100644 (file)
--- 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: