]> git.0d.be Git - jack_mixer.git/blob - autogen.sh
Updating the NEWS file with recent changes
[jack_mixer.git] / autogen.sh
1 #!/bin/sh
2 #
3 # autotools bootstrap script for jack_mixer
4 #
5 # This file is part of jack_mixer
6 #
7 # Copyright (C) 2007 Nedko Arnaudov <nedko@arnaudov.name>
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21 #
22
23 if test x$1 = xclean
24 then
25   GENERATED="aclocal.m4 autom4te.cache config.h.in configure config Makefile.in"
26   set -x
27   if test -f Makefile; then make distclean; fi
28   rm -rf ${GENERATED}
29 else
30   set -x
31   mkdir -p config
32   aclocal -I config -I m4 $ACLOCAL_FLAGS
33   libtoolize --copy --force
34   autoheader
35   automake --foreign --add-missing --copy
36   autoconf
37 fi