1
0
forked from drath/libratbag
Files
libratbag-plus/semaphore/semaphore-build-script.sh
Peter Hutterer 9089478e29 semaphore: add the two lines we're now using as build script in semaphore
Rather than copy/pasting the script, let semaphore fetch it and execute it.
This way we only need to maintain it in one place.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-10-13 11:30:51 +10:00

14 lines
594 B
Bash

# This is the build script used for
# https://semaphoreci.com/libratbag/libratbag/
#
# semaphore uses this script directly, use the following two commands as
# semaphore's build script:
# curl https://raw.githubusercontent.com/libratbag/libratbag/master/semaphore/semaphore-build-script.sh > build-script.sh
# sh ./build-script.sh
sudo apt-get update
sudo apt-get install -y valgrind check libevdev-dev libudev-dev doxygen graphviz
autoreconf -ivf
./configure --prefix=$PWD/_build --with-udev-base-dir=$PWD/_build
DISTCHECK_CONFIGURE_FLAGS="--with-udev-base-dir=$PWD/_build" make distcheck