libmbus/build.sh

22 lines
443 B
Bash
Raw Normal View History

#!/bin/sh
#
if [ -f Makefile ]; then
2016-02-05 18:51:02 +01:00
# use existing automake files
echo >> /dev/null
else
2016-02-05 18:51:02 +01:00
# regenerate automake files
echo "Running autotools..."
autoheader \
&& aclocal \
2016-02-05 18:51:02 +01:00
&& case \
$(uname) in Darwin*) glibtoolize --ltdl --copy --force ;; \
*) libtoolize --ltdl --copy --force ;; esac \
&& automake --add-missing --copy \
&& autoconf \
&& ./configure
fi
make