File: autogen.sh

package info (click to toggle)
libcaptury 0.3.0~svn158-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,548 kB
  • ctags: 175
  • sloc: sh: 9,002; cpp: 846; makefile: 45
file content (16 lines) | stat: -rwxr-xr-x 697 bytes parent folder | download | duplicates (2)
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.10"

autoreconf -v --install || exit 1

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