2016-05-25 22:18:10 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-05-29 03:55:37 +02:00
|
|
|
mkdir -p m4
|
2016-06-02 23:12:05 +02:00
|
|
|
touch NEWS
|
|
|
|
touch README
|
|
|
|
touch AUTHORS
|
|
|
|
touch ChangeLog
|
2016-05-29 03:55:37 +02:00
|
|
|
|
|
|
|
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..."
|
2016-05-31 21:49:11 +02:00
|
|
|
./configure "$@" || return 1
|