From 93547b09d8ade65acb97c316cc919296e17e7db4 Mon Sep 17 00:00:00 2001 From: su-ex Date: Tue, 3 Nov 2020 19:22:20 +0100 Subject: [PATCH] Makefile: Let config be copied in setup target --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d690e1b..5f6e2db 100644 --- a/Makefile +++ b/Makefile @@ -35,10 +35,10 @@ CURRENT_RELEASE_DIR := $(RELEASE_DIR)/$(VERSION) setup: if [ ! -L "element-desktop/webapp" ]; then ./setup.sh; fi + cp $(CFGDIR)/config.json element-web/ web: export DIST_VERSION=$(WEB_OUT_DIST_VERSION) web: setup - cp $(CFGDIR)/config.json element-web/ $(YARN) --cwd element-web dist desktop-common: web diff --git a/README.md b/README.md index 6345caa..6e81bfa 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ $ source .bashrc ``` git clone --recurse-submodules https://github.com/SchildiChat/schildichat-desktop.git cd schildichat-desktop -./setup.sh +make setup # optional step if using the other make targets ``` ## Build