File: autogen.sh

package info (click to toggle)
itools 0.6.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 324 kB
  • ctags: 85
  • sloc: ansic: 1,367; perl: 333; makefile: 120; sh: 14
file content (23 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
#--
# $Id: autogen.sh,v 1.1 2004/07/17 01:26:54 nadim Exp $
#--

EXIT=no

if test "$1" = "clean"; then
    echo "Removing auto-generated files..."
    rm -rf configure config.log config.status \
           Makefile config.h
    EXIT="yes"
fi

if test "$EXIT" = "yes"; then
    exit
fi

echo "Running autoconf..."
autoconf configure.in > configure && chmod +x configure
rm -rf autom4te.cache

echo "You can now run \"./configure\" and then \"make\"."