Codebase list ddccontrol-db / 63036a5e-6533-4429-b501-d13b7037d5a4/upstream autogen.sh
63036a5e-6533-4429-b501-d13b7037d5a4/upstream

Tree @63036a5e-6533-4429-b501-d13b7037d5a4/upstream (Download .tar.gz)

autogen.sh @63036a5e-6533-4429-b501-d13b7037d5a4/upstreamraw · history · blame

#!/bin/sh

set -e

echo "Running libtoolize..."
libtoolize --copy --force --automake

echo "Running autopoint..."
autopoint --force

echo "Running intltoolize..."
intltoolize --copy --force --automake

sed() { local fname perm; fname=$(eval echo \$$#); perm="$(stat -c "%a" "$fname")"; env sed "$@"; chmod "$perm" "$fname"; }
sed -e "s|\@INSTOBJEXT\@|.mo|" -i'~' po/Makefile.in.in
sed -e "s|\@CATOBJEXT\@|.gmo|" -i'~' po/Makefile.in.in
sed -e "s|\@GENCAT\@|gencat|" -i'~' po/Makefile.in.in
unset -f sed

echo "Running aclocal..."
aclocal -I m4

echo "Running autoconf..."
autoconf

echo "Running automake..."
automake -a --copy