summaryrefslogtreecommitdiff
path: root/src/autogen.sh
blob: 44f385a37dcfa666f0731d11d0704a33ae5b80ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# on changes to this file, it gets run automatically on the online website

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
cd $srcdir

aclocal && \
automake --foreign --add-missing --copy && \
autoconf \
  || exit 1

cd $ORIGDIR

echo "Running $srcdir/configure" "$@"
$srcdir/configure "$@"

echo 
echo "Now type 'make' to create the website."