urbackup_backend/build_server.sh
2016-08-12 16:17:52 +02:00

25 lines
438 B
Bash
Executable File

#!/bin/sh
set -e
git reset --hard
python3 build/replace_versions.py
if ! test -e build_server_ok
then
./switch_build.sh server
wget https://www.cryptopp.com/cryptopp563.zip -O cryptoplugin/cryptopp563.zip
cd cryptoplugin
unzip cryptopp563.zip
cd ..
autoreconf || true
automake --add-missing || true
autoreconf --install
./configure --enable-embedded-cryptopp
touch build_server_ok
fi
./switch_build.sh server
make
make dist