extern_interface/scripts/x3_mak

13 lines
328 B
Bash
Executable File

#!/bin/bash
SERVER="sunrise@192.168.50.58"
SDIST=$(./scripts/sdist.sh | tail -1 | sed "s/Created //")
scp -r ${SDIST} $SERVER:/tmp
ssh $SERVER << EOF
mkdir -p voix_exint && cd voix_exint
tar -xzf /tmp/$(basename ${SDIST})
./mak $@
rm -rf src/ include/ tests/ build/
EOF
rm -rf ./lib/x3/
scp -r $SERVER:voix_exint/lib/ ./lib/x3/