Authenticator/autogen.sh
Bilal Elmoussaoui 82542347f4 stable release
2016-06-02 23:12:05 +02:00

37 lines
757 B
Bash
Executable file

#!/bin/sh
mkdir -p m4
touch NEWS
touch README
touch AUTHORS
touch ChangeLog
echo "Creating m4/aclocal.m4 ..."
test -r m4/aclocal.m4 || touch m4/aclocal.m4
echo "Running glib-gettextize... Ignore non-fatal messages."
echo "no" | glib-gettextize --force --copy
echo "Making m4/aclocal.m4 writable ..."
test -r m4/aclocal.m4 && chmod u+w m4/aclocal.m4
echo "Running intltoolize..."
intltoolize --force --copy --automake || return 1
echo "Running aclocal..."
aclocal || return 1
echo "Running libtoolize..."
libtoolize || return 1
echo "Running autoheader..."
autoheader || return 1
echo "Running autoconf..."
autoconf || return 1
echo "Running automake..."
automake --add-missing || return 1
echo "Running configure..."
./configure "$@" || return 1