Commit 4c467cff authored by Ciro Santilli's avatar Ciro Santilli

Clean with X to reduce data loss, rename RING to DAEMON

parent ad2af472
#!/usr/bin/env bash
# Remove everything that is not git tracked on the submodules.
# May cause data loss.
git submodule foreach git clean -dfx
git submodule foreach git clean -dfX
# sudo here because of: https://tuleap.ring.cx/plugins/tracker/?aid=301
sudo rm -rf install *.log *.pid
......@@ -55,13 +55,13 @@ TOP="$(pwd)"
INSTALL="${TOP}/install"
cd daemon
RING="$(pwd)"
DAEMON="$(pwd)"
cd contrib
mkdir -p native
cd native
../bootstrap
make -j$(nproc)
cd "${RING}"
cd "${DAEMON}"
./autogen.sh
./configure --prefix="${INSTALL}/daemon"
make -j$(nproc)
......@@ -75,7 +75,7 @@ cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX="${INSTALL}/lrc" \
-DRING_BUILD_DIR="${RING}/src"
-DRING_BUILD_DIR="${DAEMON}/src"
make
make install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment