Makefile: Let config be copied in setup target

This commit is contained in:
su-ex 2020-11-03 19:22:20 +01:00
parent 2f51bd750d
commit 93547b09d8
No known key found for this signature in database
GPG Key ID: D743C50C8B61984C
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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