diff options
author | Martin-Éric Racine <q-funk@iki.fi> | 2007-07-06 16:59:51 -0600 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2007-07-06 17:00:27 -0600 |
commit | 47b5a249e7ae877d7816504fec4f987442d07931 (patch) | |
tree | 2402150b89fc39e8f8d897bef934db986ac6bfde /autogen.sh | |
parent | f42add8948e2cee3d9f2edf580f260c42718fc0c (diff) |
An improved autogen.sh script
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ -#! /bin/sh +#!/bin/sh srcdir=`dirname $0` test -z "$srcdir" && srcdir=. @@ -6,7 +6,15 @@ test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd $srcdir +rm -rf config.guess config.sub ltmain.sh + autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? $srcdir/configure --enable-maintainer-mode "$@" + +make distclean + +rm -rf autom4te.cache + +#EOF |