1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 02:25:09 +00:00
conky/autogen.sh
Philip Kovacs 3cc60c2dc2 autotool changes
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@786 7f574dfc-610e-0410-a909-a81674777703
2006-11-21 07:31:42 +00:00

24 lines
697 B
Bash
Executable File

#!/bin/sh
# $Id$
# autogen.sh
# optional $1 = full path to svn local working repository
AUTOCONF=${AUTOCONF:-autoconf}
AUTOMAKE=${AUTOMAKE:-automake}
ACLOCAL=${ACLOCAL:-aclocal}
AUTOHEADER=${AUTOHEADER:-autoheader}
LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
WORKINGREPO=${1:-.}
# substitute svn revision
revision=`LC_ALL=C svn info ${WORKINGREPO} | awk '/^Revision: / {printf "%05d\n", $2}'`
sed -e "s/@REVISION@/${revision}/g" \
< "configure.ac.in" > "configure.ac"
echo Running $ACLOCAL ... && $ACLOCAL
echo Running $LIBTOOLIZE --force ... && $LIBTOOLIZE --force
echo Running $AUTOHEADER ... && $AUTOHEADER
echo Running $AUTOMAKE -a ... && $AUTOMAKE -a
echo Running $AUTOCONF ... && $AUTOCONF