File: autogen.sh

package info (click to toggle)
capseo 0.3.0~svn158-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,692 kB
  • ctags: 261
  • sloc: sh: 9,020; cpp: 1,447; asm: 265; makefile: 98; ansic: 44
file content (16 lines) | stat: -rwxr-xr-x 696 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

if [ "$1" = "clean" ] || [ "$1" = "-clean" ] || [ "$1" = "--clean" ]; then
  rm -f Makefile aclocal.m4 config.cache config.guess config.h config.h.in config.log config.status config.sub configure install-sh libtool ltconfig ltmain.sh missing mkinstalldirs stamp-h stamp-h.in depcomp stamp-h1 *~
  find . \( -name '*.o' -o -name '*.lo' -o -name 'Makefile.in' -o -name 'Makefile' -o -name '.libs' -o -name '.deps' \) -exec rm -rf {} \; &> /dev/null
  rm -rf autom4te*cache
  exit 0
fi

export WANT_AUTOCONF="2.5"
export WANT_AUTOMAKE="1.7"

autoreconf -v --install || exit 1

echo "Don't forget the standard procudure:"
echo "example: ./configure --prefix=/usr && make && make install"