From fe41e3a81870efc1b6f055da957fa2ec118aba88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= Date: Mon, 10 Mar 2025 14:44:13 +0100 Subject: [PATCH] avoid using sudo for make --- README.md | 7 ++++++- waku/Makefile | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b4add8f..54c2807 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,14 @@ Follow these steps to install and set up the module: ``` cd $(go list -m -f '{{.Dir}}' github.com/waku-org/waku-go-bindings) ``` +4. Prepare third_party directory and clone nwaku + ``` + sudo mkdir third_party + chown $USER:$USER third_party + ``` 4. Build the dependencies: ``` - sudo make -C waku + make -C waku ``` Now the module is ready for use in your project. diff --git a/waku/Makefile b/waku/Makefile index 2472bb5..cdc8d4d 100644 --- a/waku/Makefile +++ b/waku/Makefile @@ -12,9 +12,6 @@ all: build # Prepare third_party directory and clone nwaku prepare: - @echo "Creating third_party directory..." - @mkdir -p $(THIRD_PARTY_DIR) - @echo "Cloning nwaku repository..." @if [ ! -d "$(NWAKU_DIR)" ]; then \ cd $(THIRD_PARTY_DIR) && \