From 650cc6dac15f9f4c1b40642c17f2c795b9147aa9 Mon Sep 17 00:00:00 2001 From: osaajani Date: Tue, 18 Feb 2020 03:57:26 +0100 Subject: [PATCH] . --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0351768..bbb3f22 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all install composer_install move_dir migrate fix +.PHONY: all install composer_install vendor migrate clean fix INSTALL_DIR=$(DESTDIR)/opt/raspisms2 ENV=prod @@ -18,7 +18,8 @@ migrate: vendor install: vendor migrate - cp -r . $(INSTALL_DIR) + install -d $(INSTALL_DIR) + install . $(INSTALL_DIR) clean: @@ -26,7 +27,7 @@ clean: uninstall: - rm -rf . + rm -rf $(INSTALL_DIR) fix: