diff --git a/Makefile b/Makefile
index 74e1f5c..b919032 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ install: $(INSTALL_PATH)
 
 $(INSTALL_PATH): cbattery
 	@echo "Installing cbattery to $(DESTDIR)"
+	@install -d $(DESTDIR)
 	@install -m 755 $< $(DESTDIR)
 
 uninstall: